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: init prev_frame_num to -1 on init
Fixes Ticket711 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer
14 years ago
parent
6287a356e3
commit
d9ced9fec6
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/h264.c
+ 1
- 0
libavcodec/h264.c
View File
@@ -1156,6 +1156,7 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx){
for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
h->last_pocs[i] = INT_MIN;
h->prev_poc_msb= 1<<16;
h->prev_frame_num= -1;
h->x264_build = -1;
ff_h264_reset_sei(h);
if(avctx->codec_id == CODEC_ID_H264){
Write
Preview
Loading…
Cancel
Save