asfdec: fix endless loop on EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 0d4404ed65e6ebfdf5e3c09f9e3a2a41dde18e4a) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
462ecdb9bb
commit
42476635ba
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user