diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-24 23:21:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-24 23:21:40 +0100 |
commit | 0d4404ed65e6ebfdf5e3c09f9e3a2a41dde18e4a (patch) | |
tree | f94b694cbf239698d8ed6dc4e2c96a3cb73d48c6 | |
parent | 47c4713a23d271eedd2eb2c02daa70cb0ea4e0ac (diff) | |
download | ffmpeg-0d4404ed65e6ebfdf5e3c09f9e3a2a41dde18e4a.tar.gz |
asfdec: fix endless loop on EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 5af112d334..3f733f7bad 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -765,7 +765,7 @@ static int ff_asf_get_packet(AVFormatContext *s, AVIOContext *pb) c= avio_r8(pb); d= avio_r8(pb); rsize+=3; - }else{ + }else if(!url_feof(pb)){ avio_seek(pb, -1, SEEK_CUR); //FIXME } |