[FFmpeg-devel] [PATCH] H.264 timestamps in h264_parser - complete set
Ivan Schreter
schreter
Thu Feb 19 22:05:31 CET 2009
Michael Niedermayer wrote:
> On Thu, Feb 19, 2009 at 06:23:41PM +0100, Ivan Schreter wrote:
>
> [...]
>
>> Index: libavformat/utils.c
>> ===================================================================
>> --- libavformat/utils.c (revision 17452)
>> +++ libavformat/utils.c (working copy)
>> @@ -909,6 +909,17 @@
>> else if (pc->key_frame == -1 && pc->pict_type == FF_I_TYPE)
>> pkt->flags |= PKT_FLAG_KEY;
>> }
>> + pkt->convergence_duration = AV_NOPTS_VALUE;
>> + if (pc) {
>>
>
> shouldnt this be inside the if() ?
>
>
Hm, I don't know for sure. Possibly, since pc is undefined only if no
parser => default is AV_NOPTS_VALUE anyway...
I've changed it (attached).
Regards,
Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avcodec_convdur.patch
Type: text/x-patch
Size: 3167 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090219/80f7d1d8/attachment.bin>
More information about the ffmpeg-devel
mailing list