Commit e7fc9796 authored by Anton Khirnov's avatar Anton Khirnov

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

That field will be deprecated.
parent ef973216
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment