diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-06 04:09:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-06 04:09:47 +0100 |
commit | 0d9f2f5c47a008d3077510e499d68a4e960e2c66 (patch) | |
tree | 259a63de479dfccd0e5f777e043d73aebec16aab /libavcodec/mss2.c | |
parent | 28eacd135162e34379b5c0146ad41a3601f35cd8 (diff) | |
parent | 66499f34b56fc6a9fdef25543bd9d576fc787895 (diff) | |
download | ffmpeg-0d9f2f5c47a008d3077510e499d68a4e960e2c66.tar.gz |
Merge commit '66499f34b56fc6a9fdef25543bd9d576fc787895'
* commit '66499f34b56fc6a9fdef25543bd9d576fc787895':
mpegvideo: do not set current_picture_ptr in decoders
Conflicts:
libavcodec/mss2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mss2.c')
-rw-r--r-- | libavcodec/mss2.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c index dd96394c31..99db046f03 100644 --- a/libavcodec/mss2.c +++ b/libavcodec/mss2.c @@ -377,13 +377,6 @@ static int decode_wmv9(AVCodecContext *avctx, const uint8_t *buf, int buf_size, ff_mpeg_flush(avctx); - if (s->current_picture_ptr == NULL || s->current_picture_ptr->f.data[0]) { - int i = ff_find_unused_picture(s, 0); - if (i < 0) - return i; - s->current_picture_ptr = &s->picture[i]; - } - if ((ret = init_get_bits8(&s->gb, buf, buf_size)) < 0) return ret; |