this is another thing that breaks reading from the pipe

On Fri, Jul 17, 2015 at 3:42 PM, Luca Barbato <[email protected]> wrote:
> On 17/07/15 14:17, Alexandra Hájková wrote:
>> ---
>>  libavformat/asfdec.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
>> index 8e85749..44f2438 100644
>> --- a/libavformat/asfdec.c
>> +++ b/libavformat/asfdec.c
>> @@ -909,7 +909,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;
>>      }
>>
>
> What does it fix?
>
> lu
> _______________________________________________
> libav-devel mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-devel
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to