[FFmpeg-devel] [PATCH] RTSP-MS 14/15: ASF packet parsing
Ronald S. Bultje
rsbultje
Sun Jul 26 21:10:18 CEST 2009
Hi,
On Sun, Jul 26, 2009 at 1:57 PM, Michael Niedermayer<michaelni at gmx.at> wrote:
> On Sun, Jul 26, 2009 at 11:54:05AM -0400, Ronald S. Bultje wrote:
>> Index: ffmpeg-svn/libavformat/asfdec.c
>> ===================================================================
>> --- ffmpeg-svn.orig/libavformat/asfdec.c ? ? ?2009-07-24 16:32:45.000000000 -0400
>> +++ ffmpeg-svn/libavformat/asfdec.c ? 2009-07-24 16:33:19.000000000 -0400
>> @@ -606,6 +606,14 @@
>> ? ? ?}
>>
>> ? ? ?if (c != 0x82) {
>> + ? ? ? ?/**
>> + ? ? ? ? * This code allows handling of -EAGAIN at packet boundaries (i.e.
>> + ? ? ? ? * if the packet sync code above triggers -EAGAIN). This does not
>> + ? ? ? ? * imply complete -EAGAIN handling support at random positions in
>> + ? ? ? ? * the stream.
>> + ? ? ? ? */
>> + ? ? ? ?if (url_ferror(pb) == AVERROR(EAGAIN))
>> + ? ? ? ? ? ?return AVERROR(EAGAIN);
>> ? ? ? ? ?if (!url_feof(pb))
>> ? ? ? ? ? ? ?av_log(s, AV_LOG_ERROR, "ff asf bad header %x ?at:%"PRId64"\n", c, url_ftell(pb));
>> ? ? ?}
>
> hunk ok
Applied, thanks.
Ronald
More information about the ffmpeg-devel
mailing list