Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-12-15 02:22:55 +0400
committerJanne Grunau <janne-libav@jannau.net>2012-12-15 22:06:37 +0400
commit27c8337e595a058347150269d5c2c48281e4285b (patch)
treea30fb91184e1d4941d271c1165f81b49514a7d79 /libavcodec
parent230acdde264e694086a05cd439dc02445b9ad26a (diff)
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.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 12af8108fb..4146b6f052 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);