]> git.sesse.net Git - ffmpeg/commitdiff
Merge remote-tracking branch 'qatar/master'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Sep 2011 20:45:34 +0000 (22:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Sep 2011 20:45:34 +0000 (22:45 +0200)
* qatar/master:
  movenc: fix NULL reference in mov_write_tkhd_tag
  rmdec: Reject invalid deinterleaving parameters
  rv34: Fix potential overreads
  rv34: Fix buffer size used for MC of B frames after a resolution change
  rv34: Avoid NULL dereference on corrupted bitstream
  rv10: Reject slices that does not have the same type as the first one
  vf_yadif: add an option to enable/disable deinterlacing based on src frame "interlaced" flag
  vsrc_color: set output pos values to -1
  vsrc_color: add @file doxy
  vsrc_buffer: remove duplicated file description
  eval: implement not() expression
  eval: add sqrt function for computing the square root
  rmdec: use the deinterleaving mode and not the codec when creating audio packets.
  lavf: Fix context pointer in av_open_input_stream when avformat_open_input fails

Conflicts:
doc/eval.texi
doc/filters.texi
libavcodec/rv10.c
libavfilter/vsrc_color.c
libavformat/rmdec.c
libavutil/avutil.h
libavutil/eval.c
tests/ref/fate/eval

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
libavcodec/rv10.c
libavformat/movenc.c
libavformat/rmdec.c
libavformat/utils.c
libavutil/avutil.h

index 18a79afbee20a02dccbd9c432ac6e8774175593b,3ba8102b50df9071434835f199a220cda33f3cba..20e2829e321e715cdfa93cbaaa35fefaf06dab0b
@@@ -548,11 -532,12 +548,13 @@@ static int rv10_decode_packet(AVCodecCo
              return -1;
          ff_er_frame_start(s);
      } else {
-         if (s->current_picture_ptr->f.pict_type != s->pict_type)
+         if (s->current_picture_ptr->f.pict_type != s->pict_type) {
+             av_log(s->avctx, AV_LOG_ERROR, "Slice type mismatch\n");
              return -1;
+         }
      }
  
 +
      av_dlog(avctx, "qscale=%d\n", s->qscale);
  
      /* default quantization values */
Simple merge
index 4d1e75aa40afd91fc998f5ea50405add01007f7c,56ad3313cfcf3610023f6dc66f4787dea850746c..131345cdc4ed743ca627aa842dc3d395d3ac2ce2
@@@ -252,14 -232,6 +232,7 @@@ static int rm_read_audio_stream_info(AV
              }
              if ((ret = rm_read_extradata(pb, st->codec, codecdata_length)) < 0)
                  return ret;
-             if (ast->audio_framesize <= 0 || sub_packet_h <= 0 ||
-                 ast->audio_framesize >= UINT_MAX / sub_packet_h){
-                 av_log(s, AV_LOG_ERROR, "rm->audio_framesize * sub_packet_h is invalid\n");
-                 return -1;
-             }
-             av_new_packet(&ast->pkt, ast->audio_framesize * sub_packet_h);
 +
              break;
          case CODEC_ID_AAC:
              avio_rb16(pb); avio_r8(pb);
Simple merge
index ef7a1459dc09c6e273cdab277dde9b61d29bb078,5d378ce3a91222890e10afd3fd7d9e65905228dc..9282e5b897999cb642215c1fc7e4008e773fa02f
@@@ -40,8 -40,8 +40,8 @@@
  #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
  
  #define LIBAVUTIL_VERSION_MAJOR 51
 -#define LIBAVUTIL_VERSION_MINOR 10
 -#define LIBAVUTIL_VERSION_MICRO  2
 +#define LIBAVUTIL_VERSION_MINOR 16
- #define LIBAVUTIL_VERSION_MICRO  0
++#define LIBAVUTIL_VERSION_MICRO  1
  
  #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
                                                 LIBAVUTIL_VERSION_MINOR, \