Changeset 969
- Timestamp:
- 10/24/08 16:01:16 (21 months ago)
- Location:
- trunk
- Files:
-
- 4 modified
- 1 copied
-
. (copied) (copied from branches/perian-1.1) (1 prop)
-
FFissionCodec/FFissionDecoder.cpp (modified) (1 diff)
-
FFusionCodec.c (modified) (1 diff)
-
ff_dataref.c (modified) (1 diff)
-
ff_private.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:externals
-
old new 1 ffmpeg -r 14508svn://svn.mplayerhq.hu/ffmpeg/trunk2 libebml -r 1306https://services.corecodec.com/svn/matroska/trunk/libebml3 libmatroska -r 1306https://services.corecodec.com/svn/matroska/trunk/libmatroska4 a52codec -r 64http://svn.cod3r.com/a52codec/trunk1 ffmpeg svn://svn.mplayerhq.hu/ffmpeg/trunk 2 libebml https://services.corecodec.com/svn/matroska/trunk/libebml 3 libmatroska https://services.corecodec.com/svn/matroska/trunk/libmatroska 4 a52codec http://svn.cod3r.com/a52codec/trunk 5 5 6
-
- Property svn:externals
-
trunk/FFissionCodec/FFissionDecoder.cpp
r923 r969 287 287 avContext->block_align = mInputFormat.mBytesPerPacket; 288 288 avContext->frame_size = mInputFormat.mFramesPerPacket; 289 avContext->bits_per_ sample = mInputFormat.mBitsPerChannel;289 avContext->bits_per_coded_sample = mInputFormat.mBitsPerChannel; 290 290 291 291 if (avContext->sample_rate == 0) { -
trunk/FFusionCodec.c
r967 r969 743 743 glob->avContext->width = (**p->imageDescription).width; 744 744 glob->avContext->height = (**p->imageDescription).height; 745 glob->avContext->bits_per_ sample = (**p->imageDescription).depth;745 glob->avContext->bits_per_coded_sample = (**p->imageDescription).depth; 746 746 747 747 // We also pass the FourCC since it allows the H263 hybrid decoder -
trunk/ff_dataref.c
r745 r969 151 151 } /* dataref_write() */ 152 152 153 static offset_t dataref_seek(URLContext *h, offset_t pos, int whence)153 static int64_t dataref_seek(URLContext *h, int64_t pos, int whence) 154 154 { 155 155 dataref_private *p = (dataref_private*)h->priv_data; -
trunk/ff_private.c
r923 r969 179 179 (*imgHdl)->hRes = 72 << 16; 180 180 (*imgHdl)->vRes = 72 << 16; 181 (*imgHdl)->depth = codec->bits_per_ sample;181 (*imgHdl)->depth = codec->bits_per_coded_sample; 182 182 (*imgHdl)->clutID = -1; // no color lookup table... 183 183 … … 237 237 asbd.mBytesPerPacket = codec->block_align; /* this is tested for alaw/mulaw/msadpcm */ 238 238 asbd.mFramesPerPacket = codec->frame_size; /* works for mp3, all other codecs this is 0 anyway */ 239 asbd.mBitsPerChannel = codec->bits_per_ sample;239 asbd.mBitsPerChannel = codec->bits_per_coded_sample; 240 240 241 241 // this probably isn't quite right; FLV doesn't set frame_size or block_align, … … 430 430 ptr = write_int32(ptr, EndianS32_NtoL(codec->bit_rate / 8)); 431 431 ptr = write_int16(ptr, EndianS16_NtoL(codec->block_align)); 432 ptr = write_int16(ptr, EndianS16_NtoL(codec->bits_per_ sample));432 ptr = write_int16(ptr, EndianS16_NtoL(codec->bits_per_coded_sample)); 433 433 ptr = write_int16(ptr, EndianS16_NtoL(codec->extradata_size)); 434 434 /* now the remaining stuff */ … … 489 489 ptr = write_int16(ptr, EndianS16_NtoL(1)); /* planes */ 490 490 491 ptr = write_int16(ptr, EndianS16_NtoL(codec->bits_per_ sample ? codec->bits_per_sample : 24)); /* depth */491 ptr = write_int16(ptr, EndianS16_NtoL(codec->bits_per_coded_sample ? codec->bits_per_coded_sample : 24)); /* depth */ 492 492 /* compression type */ 493 493 ptr = write_int32(ptr, EndianS32_NtoL(codec->codec_tag));
