OSDN Git Service

Merge remote-tracking branch 'qatar/master'
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Feb 2012 00:36:23 +0000 (01:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Feb 2012 00:47:10 +0000 (01:47 +0100)
* qatar/master:
  mov: Use defines for sample flags in fragments
  mov: Use defines for trun flags
  mov: Use defines for tfhd flags
  proresenc: force bitrate not to exceed given limit
  vc1parse: call vc1_init_common().
  wma: don't return 0 on invalid packets.
  asf: prevent packet_size_left from going negative if hdrlen > pktlen.
  mjpegb: don't return 0 at the end of frame decoding.
  rtpdec: Identify incorrectly signalled H263
  vp8dsp: split long line.
  aiff: don't skip block_align==0 check on COMM-after-SSND files.
  dpcm: ignore extra unpaired bytes in stereo streams.
  mp3on4: require a minimum framesize.
  mpc7: assign an error level + context to av_log() msg.
  huffyuv: error out on bit overrun.
  dct-test: Add the missing ff_ prefix to the altivec functions
  dct-test: Remove a stray declaration of a nonexistent function
  movenc: Write the unknown duration as 64 bit fields in ismv
  movenc: Write track durations with all bits set if duration is unknown

Conflicts:
libavcodec/dct-test.c
libavcodec/wmadec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
20 files changed:
1  2 
libavcodec/dct-test.c
libavcodec/dpcm.c
libavcodec/huffyuv.c
libavcodec/mjpegbdec.c
libavcodec/mpc7.c
libavcodec/mpegaudiodec.c
libavcodec/proresenc_kostya.c
libavcodec/vc1.h
libavcodec/vc1_parser.c
libavcodec/vc1dec.c
libavcodec/vp8dsp.h
libavcodec/wmadec.c
libavformat/aiffdec.c
libavformat/asfdec.c
libavformat/isom.h
libavformat/mov.c
libavformat/movenc.c
libavformat/rtpdec_formats.h
libavformat/rtpdec_h263.c
tests/ref/lavf/ismv

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -834,10 -817,13 +834,14 @@@ static int wma_decode_superframe(AVCode
          s->last_superframe_len = 0;
          return 0;
      }
-     if (buf_size < s->block_align)
-         return AVERROR(EINVAL);
+     if (buf_size < s->block_align) {
+         av_log(avctx, AV_LOG_ERROR,
+                "Input packet size too small (%d < %d)\n",
+                buf_size, s->block_align);
+         return AVERROR_INVALIDDATA;
+     }
 -    buf_size = s->block_align;
 +    if(s->block_align)
 +        buf_size = s->block_align;
  
      init_get_bits(&s->gb, buf, buf_size*8);
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 5922cb6,0000000..cf0a583
mode 100644,000000..100644
--- /dev/null
@@@ -1,9 -1,0 +1,9 @@@
- c4e12d7ed2ab47d43b912eb160a2bea8 *./tests/data/lavf/lavf.ismv
- 312247 ./tests/data/lavf/lavf.ismv
++eb116b60befadfd5c9118635d81c5a6e *./tests/data/lavf/lavf.ismv
++312271 ./tests/data/lavf/lavf.ismv
 +./tests/data/lavf/lavf.ismv CRC=0xbcc963fc
- 44c724f5dd12436d283aacc95065ad7f *./tests/data/lavf/lavf.ismv
- 321521 ./tests/data/lavf/lavf.ismv
++90db70a6f33cf22db9ce242087b5870b *./tests/data/lavf/lavf.ismv
++321545 ./tests/data/lavf/lavf.ismv
 +./tests/data/lavf/lavf.ismv CRC=0x3998478f
- c4e12d7ed2ab47d43b912eb160a2bea8 *./tests/data/lavf/lavf.ismv
- 312247 ./tests/data/lavf/lavf.ismv
++eb116b60befadfd5c9118635d81c5a6e *./tests/data/lavf/lavf.ismv
++312271 ./tests/data/lavf/lavf.ismv
 +./tests/data/lavf/lavf.ismv CRC=0xbcc963fc