lavc: do not use AVCodecContext.codec_name in avcodec_string()

That field will be deprecated.
This commit is contained in:
Anton Khirnov 2014-04-29 16:42:07 +02:00
parent ef9732162c
commit e7fc9796d8
1 changed files with 0 additions and 2 deletions

View File

@ -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];