[FFmpeg-devel] Possible error in output_example.c
Wed Jul 23 10:30:04 CEST 2008
are codecs supposed to set coded_frame->pts to a value different
If yes, then some codecs must be fixed in this regard.
If no, then output_example.c is buggy because it sets
pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
without checking if c->coded_frame->pts is a valid time. So, a
patch like the attached one should be applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1109 bytes
Desc: not available
More information about the ffmpeg-devel