On 18/10/2011 14:22, Diego Biurrun wrote:
> On Tue, Oct 18, 2011 at 02:05:29PM -0700, Luca Barbato wrote:
>>
>> --- a/libavformat/utils.c
>> +++ b/libavformat/utils.c
>> @@ -725,6 +725,9 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt)
>>              av_log(s, AV_LOG_WARNING,
>>                     "Dropped corrupted packet (stream = %d)\n",
>>                     pkt->stream_index);
>> +            if(!(s->flags & AVFMT_FLAG_KEEP_SIDE_DATA))
>> +                av_packet_merge_side_data(pkt);
>> +           av_free_packet(pkt);
>>              continue;
> 
> if (
> 
> .. indentation is off ..

I'll fix it later, Kostya is the side data part correct in your opinion?

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

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

Reply via email to