diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-25 02:21:40 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-25 02:21:40 +0400 |
commit | 0d4404ed65e6ebfdf5e3c09f9e3a2a41dde18e4a (patch) | |
tree | f94b694cbf239698d8ed6dc4e2c96a3cb73d48c6 /libavformat | |
parent | 47c4713a23d271eedd2eb2c02daa70cb0ea4e0ac (diff) |
asfdec: fix endless loop on EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-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 } |