[vlc-devel] [PATCH] demux/adaptive: clear BLOCK_FLAG_HEADER flag properly

Francois Cartegnie fcvlcdev at free.fr
Wed Jul 5 10:25:48 CEST 2017


Le 05/07/2017 à 05:46, Zhao Zhili a écrit :
> @@ -95,7 +95,7 @@ block_t * AbstractChunk::doRead(size_t size, bool b_block)
>              block->i_flags |= BLOCK_FLAG_HEADER;
>          bytesRead += block->i_buffer;
>          onDownload(&block);
> -        block->i_flags ^= BLOCK_FLAG_HEADER;
> +        block->i_flags &= ~BLOCK_FLAG_HEADER;
>      }

Since that the only flag, that's already cleared.

Francois


More information about the vlc-devel mailing list