diff mbox series

[FFmpeg-devel] Fix x264 SEI offset

Message ID CAKqR_u7M=WQnxYSOKjW4Y5_XstiQkSw15e4WU5aEOCsMH9=o6Q@mail.gmail.com
State New
Headers show
Series [FFmpeg-devel] Fix x264 SEI offset | expand

Checks

Context Check Description
andriy/configure warning Failed to apply patch

Commit Message

Jack Waller July 26, 2021, 12:09 p.m. UTC
Dear:

The libavcodec/libx264.c uses the wrong offset to obtain the SEI
diff mbox series

Patch

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index f78365a4f7..9afaf19547 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -936,7 +936,7 @@  static av_cold int X264_init(AVCodecContext *avctx)
         for (i = 0; i < nnal; i++) {
             /* Don't put the SEI in extradata. */
             if (nal[i].i_type == NAL_SEI) {
-                av_log(avctx, AV_LOG_INFO, "%s\n", nal[i].p_payload+24);
+                av_log(avctx, AV_LOG_INFO, "%s\n", nal[i].p_payload+25);
                 x4->sei_size = nal[i].i_payload;
                 x4->sei      = av_malloc(x4->sei_size);
                 if (!x4->sei)