Browse Source

asfdec: fix endless loop on EOF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
0d4404ed65
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/asfdec.c

+ 1
- 1
libavformat/asfdec.c View File

@@ -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