diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-02 00:45:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-02 00:45:41 +0200 |
commit | 3af2de76ac8b7aa762e4ee129ec29140e6247d81 (patch) | |
tree | d460349e1c5d6240a0092fe29e59f51a0ff422ce /libavcodec/h264.c | |
parent | 78f08c06e6351e68363cad7158e6ab76246f1367 (diff) | |
download | ffmpeg-3af2de76ac8b7aa762e4ee129ec29140e6247d81.tar.gz |
h264: set unused ref_counts to 0 as a precautionary meassure.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 792775494a..f2bd75623c 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2903,7 +2903,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ else h->list_count= 1; }else - h->list_count= 0; + h->ref_count[1]= h->ref_count[0]= h->list_count= 0; if(!default_ref_list_done){ ff_h264_fill_default_ref_list(h); |