summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_sei.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-04 04:25:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 04:25:14 +0200
commit19c9d1e8e71da04c3ac940206619c0a2d01e5193 (patch)
treeb88e36b6c3c445a088eeed32b216f5eed21ef659 /libavcodec/h264_sei.c
parentfbaf73a33d505a32431ede6599f5b742ade045e1 (diff)
downloadffmpeg-streaming-19c9d1e8e71da04c3ac940206619c0a2d01e5193.zip
ffmpeg-streaming-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index 4e2f981..88bf0f4 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;
}
OpenPOWER on IntegriCloud