Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-10 20:33:54 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-12-10 21:51:48 +0400
commit5b2873c1d57683f377caf77b03e38a427eb3922b (patch)
treeb37e51f9b251d46911947285acc7193e1ab119c6 /libavcodec/h264_refs.c
parent257c85cddde8633caffb76e97e9710b1aebfc511 (diff)
h264: switch from qatars has_b_frames calculation back to mine.
Their 2nd try does like the first not work at all. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r--libavcodec/h264_refs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index c75cbf11e5..cdc1fca1a0 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -586,6 +586,8 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){
s->current_picture_ptr->frame_num= 0;
h->mmco_reset = 1;
s->current_picture_ptr->mmco_reset=1;
+ for (j = 0; j < MAX_DELAYED_PIC_COUNT; j++)
+ h->last_pocs[j] = INT_MIN;
break;
default: assert(0);
}