diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-12 14:08:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-12 14:09:08 +0100 |
commit | db1ba2213f70ad958ba4ec961042ea5a9e52fc9f (patch) | |
tree | adaeeae0e528355d600740ec09a26b43eff585a5 | |
parent | 43d6ac53f262f86afff70e45a57e2e79bdbd4c30 (diff) | |
download | ffmpeg-db1ba2213f70ad958ba4ec961042ea5a9e52fc9f.tar.gz |
lavf: use avpriv_find_pix_fmt instead of ff_
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 6f75e4314f..765015b603 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2962,7 +2962,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO) { if(st->codec->codec_id == AV_CODEC_ID_RAWVIDEO && !st->codec->codec_tag && !st->codec->bits_per_coded_sample){ uint32_t tag= avcodec_pix_fmt_to_codec_tag(st->codec->pix_fmt); - if(ff_find_pix_fmt(ff_raw_pix_fmt_tags, tag) == st->codec->pix_fmt) + if (avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, tag) == st->codec->pix_fmt) st->codec->codec_tag= tag; } |