diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-04-29 16:42:07 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-01 09:26:57 +0200 |
commit | e7fc9796d82abc99ef0af71027fb9aaa5311d137 (patch) | |
tree | 9ad91fb263916c3f7204e8169d4f1529b7039ec6 /libavcodec | |
parent | ef9732162cd4b593c6db28fdd352ebef21b5c1ca (diff) | |
download | ffmpeg-streaming-e7fc9796d82abc99ef0af71027fb9aaa5311d137.zip ffmpeg-streaming-e7fc9796d82abc99ef0af71027fb9aaa5311d137.tar.gz |
lavc: do not use AVCodecContext.codec_name in avcodec_string()
That field will be deprecated.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 34c886e..f14d1eb 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1785,8 +1785,6 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) /* fake mpeg2 transport stream codec (currently not * registered) */ codec_name = "mpeg2ts"; - } else if (enc->codec_name[0] != '\0') { - codec_name = enc->codec_name; } else { /* output avi tags */ char tag_buf[32]; |