diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-04 04:25:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-04 04:25:14 +0200 |
commit | 19c9d1e8e71da04c3ac940206619c0a2d01e5193 (patch) | |
tree | b88e36b6c3c445a088eeed32b216f5eed21ef659 /libavcodec/h264_sei.c | |
parent | fbaf73a33d505a32431ede6599f5b742ade045e1 (diff) | |
download | ffmpeg-19c9d1e8e71da04c3ac940206619c0a2d01e5193.tar.gz |
avcodec/h264: in the absence of recovery points, be more tolerant on accepting plain I frames
Fixes: Ticket3652
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_sei.c')
-rw-r--r-- | libavcodec/h264_sei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index 4e2f981181..88bf0f4977 100644 --- a/libavcodec/h264_sei.c +++ b/libavcodec/h264_sei.c @@ -183,6 +183,8 @@ static int decode_recovery_point(H264Context *h) if (h->avctx->debug & FF_DEBUG_PICT_INFO) av_log(h->avctx, AV_LOG_DEBUG, "sei_recovery_frame_cnt: %d\n", h->sei_recovery_frame_cnt); + h->has_recovery_point = 1; + return 0; } |