ffmpeg | branch: master | Alexandra Hájková <alexandra.khirn...@gmail.com> | 
Wed Jul 22 16:10:25 2015 +0200| [7f388c0fabc51eca3106e7cc443393269435ab52] | 
committer: Anton Khirnov

asfdec: remove the wrong condition

this condition breaks reading from the pipe as data_reached variable
have to be set to break while in the asf_read_header just after the Data
Object is found

Signed-off-by: Anton Khirnov <an...@khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f388c0fabc51eca3106e7cc443393269435ab52
---

 libavformat/asfdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index d9e9a5a..752d45c 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -905,7 +905,7 @@ static int asf_read_data(AVFormatContext *s, const 
GUIDParseTable *g)
     uint64_t size   = asf->data_size = avio_rl64(pb);
     int i;
 
-    if (!asf->data_reached && pb->seekable) {
+    if (!asf->data_reached) {
         asf->data_reached       = 1;
         asf->data_offset        = asf->offset;
     }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to