[FFmpeg-cvslog] Show hyphen in codec tag.

Carl Eugen Hoyos git at videolan.org
Mon Jul 9 13:47:26 CEST 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Mon Jul  9 13:46:55 2012 +0200| [36b2bd9629fac368b7752937753f74f28116b1f0] | committer: Carl Eugen Hoyos

Show hyphen in codec tag.

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index b3af77d..ddd63db 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1826,7 +1826,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) == '-'))
 
     for (i = 0; i < 4; i++) {
         len = snprintf(buf, buf_size,



More information about the ffmpeg-cvslog mailing list