On date Saturday 2011-04-23 14:37:44 +0200, Luca Barbato wrote:
> On 4/23/11 1:51 PM, Stefano Sabatini wrote:
> >The new enums and av_get_picture_type_char() are defined in libavutil.
> >This allows the use in libavfilter without the need to link against
> >libavcodec.
> >
> 
> I'd call it avpicture_get_type_char() beside that I think it could be ok

There is already an avpicture_* API defined in avcodec.h, so I'd avoid
this for avoiding confusion.

Also this appears the only use of this enum, so it should safe enough
to avoid the hierarchical name convention (av_get_cpu_flags,
av_get_channel_layout(), av_get_sample_fmt(), av_get_pixel_format(),
etc.).
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to