diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 01:31:37 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | 67e370ee527e9aa88d8754afd7345ffd9f6f6159 (patch) | |
tree | f1825cf6931033c10721bd65ea741303d430dbde /libavcodec/sheervideo.c | |
parent | f156d35321bb600b2309b78185d600b2fa64d84a (diff) |
lavc: fix usages of av_get_codec_tag_string()
Diffstat (limited to 'libavcodec/sheervideo.c')
-rw-r--r-- | libavcodec/sheervideo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c index 9d2da7ffb4..092ac6ed82 100644 --- a/libavcodec/sheervideo.c +++ b/libavcodec/sheervideo.c @@ -2879,7 +2879,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p = data; GetBitContext gb; unsigned format; - char format_str[32]; int ret; if (avpkt->size <= 20) @@ -2891,8 +2890,7 @@ static int decode_frame(AVCodecContext *avctx, s->alt = 0; format = AV_RL32(avpkt->data + 16); - av_get_codec_tag_string(format_str, sizeof(format_str), format); - av_log(avctx, AV_LOG_DEBUG, "format: %s\n", format_str); + av_log(avctx, AV_LOG_DEBUG, "format: %s\n", av_fourcc2str(format)); switch (format) { case MKTAG(' ', 'R', 'G', 'B'): avctx->pix_fmt = AV_PIX_FMT_RGB0; |