[FFmpeg-devel] [PATCH] fix convergence_duration default value

Aurelien Jacobs aurel
Tue Jun 15 23:19:54 CEST 2010


av_init_packet() currently initialize pkt->convergence_duration to 0.
This seems wrong. According to the documentation of convergence_duration:
    * Is AV_NOPTS_VALUE if unknown.
Moreover, av_parser_init() is following the documentation and initialize
convergence_duration to AV_NOPTS_VALUE.
I propose to fix av_init_packet() so that it also initialize
convergence_duration to AV_NOPTS_VALUE.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: convergence_duration_fix.diff
Type: text/x-diff
Size: 443 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100615/bb98efbf/attachment.diff>

More information about the ffmpeg-devel mailing list