diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-31 00:13:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-31 00:13:22 +0200 |
commit | b50fa26885dc0c22dcb2f184d4d94da787b2d8a8 (patch) | |
tree | 9ff886293d7a536bed3dda0138e370788464aae0 /libavcodec | |
parent | 2c180cfc5dd549c90cbbb3b02e9c67ce6b55cbec (diff) | |
parent | 3b69f245dbe6e2016659a45c4bfe284f6c5ac57e (diff) | |
download | ffmpeg-b50fa26885dc0c22dcb2f184d4d94da787b2d8a8.tar.gz |
Merge commit '3b69f245dbe6e2016659a45c4bfe284f6c5ac57e' into release/2.4
* commit '3b69f245dbe6e2016659a45c4bfe284f6c5ac57e':
h264: Make sure reinit failures mark the context as not initialized
Conflicts:
libavcodec/h264_slice.c
See: e8714f6f93d1a32f4e4655209960afcf4c185214
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264_slice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 3a7ea4d0e3..8f8660d61b 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1475,6 +1475,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264Context *h0) if (h->context_initialized && (must_reinit || needs_reinit)) { + h->context_initialized = 0; if (h != h0) { av_log(h->avctx, AV_LOG_ERROR, "changing width %d -> %d / height %d -> %d on " |