summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 64ca5b7e66..24dc201e9f 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2201,6 +2201,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
h->sei_dpb_output_delay = 0;
h->sei_cpb_removal_delay = -1;
h->sei_buffering_period_present = 0;
+ avctx->ticks_per_frame = 2;
return 0;
}