[FFmpeg-cvslog] Show underscores in av_get_codec_tag_string().

Carl Eugen Hoyos git at videolan.org
Wed Dec 19 10:01:28 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Dec 19 10:01:07 2012 +0100| [ec4a084581f78fa758803c6e128376d49b66a735] | committer: Carl Eugen Hoyos

Show underscores in av_get_codec_tag_string().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec4a084581f78fa758803c6e128376d49b66a735
---

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index abd930d..c8c7c47 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -2014,7 +2014,7 @@ size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_ta
 #define IS_PRINT(x)                                               \
     (((x) >= '0' && (x) <= '9') ||                                \
      ((x) >= 'a' && (x) <= 'z') || ((x) >= 'A' && (x) <= 'Z') ||  \
-     ((x) == '.' || (x) == ' ' || (x) == '-'))
+     ((x) == '.' || (x) == ' ' || (x) == '-' || (x) == '_'))
 
     for (i = 0; i < 4; i++) {
         len = snprintf(buf, buf_size,



More information about the ffmpeg-cvslog mailing list