asfdec: fix endless loop on EOF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/head
Michael Niedermayer 13 years ago
parent 47c4713a23
commit 0d4404ed65
  1. 2
      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
}

Loading…
Cancel
Save