From 0ab00a75e41f4399126777e49385c809d8fcc311 Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 7 Aug 2014 01:22:48 -0300 Subject: 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 Signed-off-by: Michael Niedermayer --- libavdevice/dshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice') diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index adf36a7b32..2c098d4839 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -92,7 +92,7 @@ static enum AVPixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount) return AV_PIX_FMT_0RGB32; } } - return avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, biCompression); // all others + return avpriv_find_pix_fmt(avpriv_get_raw_pix_fmt_tags(), biCompression); // all others } static int -- cgit v1.2.3