This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
h264: set ref_count to 0 for intra slices.
CC:libav-stable@libav.org
tags/n1.2
Anton Khirnov
12 years ago
parent
668e16a0dd
commit
437211ae73
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
libavcodec/h264.c
+ 4
- 1
libavcodec/h264.c
View File
@@ -3384,8 +3384,11 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
h->list_count = 2;
else
h->list_count = 1;
} else
} else
{
h->list_count = 0;
h->ref_count[0] = h->ref_count[1] = 0;
}
max_refs = h->picture_structure == PICT_FRAME ? 16 : 32;
Write
Preview
Loading…
Cancel
Save