mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/raw: add avpriv_get_raw_pix_fmt_tags()
Used to expose ff_raw_pix_fmt_tags[] to other libav* libraries Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4c404611da
commit
0ab00a75e4
4 changed files with 13 additions and 2 deletions
|
|
@ -224,6 +224,11 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
|
|||
{ AV_PIX_FMT_NONE, 0 },
|
||||
};
|
||||
|
||||
const struct PixelFormatTag *avpriv_get_raw_pix_fmt_tags(void)
|
||||
{
|
||||
return ff_raw_pix_fmt_tags;
|
||||
}
|
||||
|
||||
unsigned int avcodec_pix_fmt_to_codec_tag(enum AVPixelFormat fmt)
|
||||
{
|
||||
const PixelFormatTag *tags = ff_raw_pix_fmt_tags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue