On 11/10/11 1:02 PM, Janne Grunau wrote:
+                        pkt_dts  += ((int64_t)AV_TIME_BASE *
+                                     ist->st->codec->time_base.num * ticks) /
+                                     ist->st->codec->time_base.den;

Shouldn't we have a function that does something similar already?

> +                        int ticks = ist->st->parser ?
> ist->st->parser->repeat_pict+1 : ist->st->codec->ticks_per_frame;

Sort of unrelated to the patch but, repeat_pict seems the wrong term for what it should deliver or the whole thing is misleading...

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to