mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc: do not use AVCodecContext.codec_name in avcodec_string()
That field will be deprecated.
This commit is contained in:
parent
ef9732162c
commit
e7fc9796d8
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user