[FFmpeg-cvslog] h264-mt: handle NAL_DPAs before calling ff_thread_finish_setup
Janne Grunau
git at videolan.org
Sun Dec 16 13:12:55 CET 2012
ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Fri Dec 14 23:22:55 2012 +0100| [27c8337e595a058347150269d5c2c48281e4285b] | committer: Janne Grunau
h264-mt: handle NAL_DPAs before calling ff_thread_finish_setup
Since a NAL_DPA can start a new frame it has to be handled before
ff_thread_finish_setup is called.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27c8337e595a058347150269d5c2c48281e4285b
---
libavcodec/h264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 12af810..4146b6f 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3816,6 +3816,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size)
case NAL_PPS:
nals_needed = nal_index;
break;
+ case NAL_DPA:
case NAL_IDR_SLICE:
case NAL_SLICE:
init_get_bits(&hx->s.gb, ptr, bit_length);
More information about the ffmpeg-cvslog
mailing list