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
---
libavformat/asfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index a52ea0b..c1356a7 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -906,7 +906,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;
}
--
2.0.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel