diff h264.c @ 2637:ef44d24680d1 libavcodec

switch to native time bases
author michael
date Sat, 30 Apr 2005 21:43:59 +0000
parents 72e6ffa1f3a5
children d5de8b677bad
line wrap: on
line diff
--- a/h264.c	Mon Apr 25 18:41:38 2005 +0000
+++ b/h264.c	Sat Apr 30 21:43:59 2005 +0000
@@ -3838,8 +3838,7 @@
             s->avctx->sample_aspect_ratio.den = 1;
 
         if(h->sps.timing_info_present_flag && h->sps.fixed_frame_rate_flag){
-            s->avctx->frame_rate = h->sps.time_scale;
-            s->avctx->frame_rate_base = h->sps.num_units_in_tick;
+            s->avctx->time_base= (AVRational){h->sps.num_units_in_tick, h->sps.time_scale};
         }
     }