Changeset 969
- Timestamp:
- 10/24/08 16:01:16 (3 months ago)
- Files:
-
- trunk (copied) (copied from branches/perian-1.1) (1 prop)
- trunk/FFissionCodec/FFissionDecoder.cpp (modified) (1 diff)
- trunk/FFusionCodec.c (modified) (1 diff)
- trunk/ff_dataref.c (modified) (1 diff)
- trunk/ff_private.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk
- Property svn:externals changed from
ffmpeg -r 14508 svn://svn.mplayerhq.hu/ffmpeg/trunk
libebml -r 1306 https://services.corecodec.com/svn/matroska/trunk/libebml
libmatroska -r 1306 https://services.corecodec.com/svn/matroska/trunk/libmatroska
a52codec -r 64 http://svn.cod3r.com/a52codec/trunk
to
ffmpeg svn://svn.mplayerhq.hu/ffmpeg/trunk
libebml https://services.corecodec.com/svn/matroska/trunk/libebml
libmatroska https://services.corecodec.com/svn/matroska/trunk/libmatroska
a52codec http://svn.cod3r.com/a52codec/trunk
- Property svn:externals changed from
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));
