Commit 0d4404ed authored by Michael Niedermayer's avatar Michael Niedermayer

asfdec: fix endless loop on EOF

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 47c4713a
...@@ -765,7 +765,7 @@ static int ff_asf_get_packet(AVFormatContext *s, AVIOContext *pb) ...@@ -765,7 +765,7 @@ static int ff_asf_get_packet(AVFormatContext *s, AVIOContext *pb)
c= avio_r8(pb); c= avio_r8(pb);
d= avio_r8(pb); d= avio_r8(pb);
rsize+=3; rsize+=3;
}else{ }else if(!url_feof(pb)){
avio_seek(pb, -1, SEEK_CUR); //FIXME avio_seek(pb, -1, SEEK_CUR); //FIXME
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment