[FFmpeg-devel] [PATCH 2/7] avio: deprecate url_is_streamed

Måns Rullgård mans
Sun Mar 6 18:32:34 CET 2011


Nicolas George <nicolas.george at normalesup.org> writes:

> Le sextidi 16 vent?se, an CCXIX, Anton Khirnov a ?crit?:
>> AVIOContext.is_streamed field should be used directly instead.
>> -            if (url_is_streamed(pb)) {
>> +            if (pb->is_streamed) {
>
> Why? Having a function rather than a direct access to the field lowers the
> risks of ABI breakage.

Public structs are already part of the ABI.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list