[FFmpeg-devel] [PATCH]Insert a newline in front of embedded svq1 messages

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jun 9 17:15:35 CEST 2013


Hi!

The embedded messages in codeblue-plot08motor.mov currently overwrite the 
beginning of the line, making the quotation marks useless, possible solution 
attached.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 5f43a97..bec81c1 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -555,7 +555,7 @@ static int svq1_decode_frame_header(AVCodecContext *avctx, AVFrame *frame)
             svq1_parse_string(bitbuf, msg);
 
             av_log(avctx, AV_LOG_INFO,
-                   "embedded message: \"%s\"\n", (char *)msg);
+                   "embedded message:\n%s\n", (char *)msg);
         }
 
         skip_bits(bitbuf, 2);


More information about the ffmpeg-devel mailing list