diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-01 05:03:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-01 05:03:59 +0100 |
commit | 5aab33dea38ee262d6345e8348a184609a2ee46e (patch) | |
tree | b7c6959a894f16d8151b4edece02cfcdc186a65e | |
parent | 153b870d1e681f7bdbfcda7c8c4d6c2c347e5fd9 (diff) | |
parent | f4bd9fe326ad1315a74206939ae56df93b940a09 (diff) | |
download | ffmpeg-streaming-5aab33dea38ee262d6345e8348a184609a2ee46e.zip ffmpeg-streaming-5aab33dea38ee262d6345e8348a184609a2ee46e.tar.gz |
Merge commit 'f4bd9fe326ad1315a74206939ae56df93b940a09'
* commit 'f4bd9fe326ad1315a74206939ae56df93b940a09':
h264: fix clang warning about uninitialized variable
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 9586544..e5152dc 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -552,7 +552,7 @@ static int check_opcodes(MMCO *mmco1, MMCO *mmco2, int n_mmcos) int ff_generate_sliding_window_mmcos(H264Context *h, int first_slice) { MMCO mmco_temp[MAX_MMCO_COUNT], *mmco = first_slice ? h->mmco : mmco_temp; - int mmco_index = 0, i; + int mmco_index = 0, i = 0; if (h->short_ref_count && h->long_ref_count + h->short_ref_count >= h->sps.ref_frame_count && |