[FFmpeg-devel] [PATCH] libavformat/hls: Observe Set-Cookie headers

Micah Galizia micahgalizia at gmail.com
Wed May 17 04:36:54 EEST 2017


On 2017-05-16 04:57 PM, Michael Niedermayer wrote:
> On Sat, May 06, 2017 at 02:28:10PM -0400, Micah Galizia wrote:
>> On 2017-05-05 09:28 PM, wm4 wrote:
>>
>>> Did you mean & instead of ^?
>> No, the original code was structured to set *u to null (and thus did
>> not copy cookies) iff AVFMT_FLAG_CUSTOM_IO was set in the flags.  So
>> using ^ is logically equivalent -- cookies are copied only if
>> AVFMT_FLAG_CUSTOM_IO is not set.
> it would also copy if another flag is set, is that intended ?

... I think that is what wm4 was getting at too. That is wrong and not 
intended. I'll resubmit with !(a&b) which is the proper logic.

Thanks,


More information about the ffmpeg-devel mailing list