diff options
author | James Almer <jamrial@gmail.com> | 2014-08-07 01:22:48 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-07 12:52:38 +0200 |
commit | 0ab00a75e41f4399126777e49385c809d8fcc311 (patch) | |
tree | f93db9923e7ea25526056f68e17f0bdd31d81424 /libavcodec/raw.c | |
parent | 4c404611dae4a8fe41b348b8d5db4ea526e24bc5 (diff) | |
download | ffmpeg-0ab00a75e41f4399126777e49385c809d8fcc311.tar.gz |
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>
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r-- | libavcodec/raw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 56c4a6b118..62ad338b9f 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -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; |