projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef97321
)
lavc: do not use AVCodecContext.codec_name in avcodec_string()
author
Anton Khirnov
<anton@khirnov.net>
Tue, 29 Apr 2014 14:42:07 +0000
(16:42 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Thu, 1 May 2014 07:26:57 +0000
(09:26 +0200)
That field will be deprecated.
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
34c886e
..
f14d1eb
100644
(file)
--- 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];