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 ..

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

Reply via email to