[FFmpeg-cvslog] libavcodec/h264_sei: Don't log random user data. This prevents terminal junk.

Kieran Kunhya git at videolan.org
Sat Nov 18 00:24:12 EET 2017


ffmpeg | branch: master | Kieran Kunhya <kierank at obe.tv> | Fri May  5 14:29:59 2017 -0700| [1f28a991effadc64acd6915805b989ab43500f08] | committer: Kieran Kunhya

libavcodec/h264_sei: Don't log random user data. This prevents terminal junk.

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

 libavcodec/h264_sei.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index 332ae50860..ae5f39f775 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -257,9 +257,6 @@ static int decode_unregistered_user_data(H264SEIUnregistered *h, GetBitContext *
     if (e == 1 && build == 1 && !strncmp(user_data+16, "x264 - core 0000", 16))
         h->x264_build = 67;
 
-    if (strlen(user_data + 16) > 0)
-        av_log(logctx, AV_LOG_DEBUG, "user data:\"%s\"\n", user_data + 16);
-
     av_free(user_data);
     return 0;
 }



More information about the ffmpeg-cvslog mailing list