summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-08-03 19:09:19 -0700
committerTimothy Gu <timothygu99@gmail.com>2016-08-03 19:09:19 -0700
commite0c8250a59adbf7135adb870be275df05a61e052 (patch)
treef2ab3319d332f038b1b0ec781ec23656ebff34a4 /libavcodec
parentd3426fb5921d069cd950e43504b005bfbb1686d2 (diff)
parent6efc4638584e1e14d1a6152186ba28f5d48a80c0 (diff)
downloadffmpeg-streaming-e0c8250a59adbf7135adb870be275df05a61e052.zip
ffmpeg-streaming-e0c8250a59adbf7135adb870be275df05a61e052.tar.gz
Merge commit '6efc4638584e1e14d1a6152186ba28f5d48a80c0'
* commit '6efc4638584e1e14d1a6152186ba28f5d48a80c0': h264: always set redundant_pic_count during slice header parsing Merged-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_slice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index ade41f5..c2490cb 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -1624,6 +1624,7 @@ static int h264_slice_header_parse(const H264Context *h, H264SliceContext *sl,
sl->delta_poc[1] = get_se_golomb(&sl->gb);
}
+ sl->redundant_pic_count = 0;
if (pps->redundant_pic_cnt_present)
sl->redundant_pic_count = get_ue_golomb(&sl->gb);
OpenPOWER on IntegriCloud