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

Michael Niedermayer michaelni
Sun Mar 6 20:19:00 CET 2011

On Sun, Mar 06, 2011 at 06:21:35PM +0100, Nicolas George wrote:
> 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.

its a static inline function in a header

and patch is probably ok
if we want some ABI protection for that field AVOptions should be used
but theres no point to do that from inside libav*

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110306/4452f76e/attachment.pgp>

More information about the ffmpeg-devel mailing list