ffmpeg | branch: release/7.1 | James Almer <jamr...@gmail.com> | Sat Nov 16 
17:49:17 2024 -0300| [f1592a7ff1d38e75bd97bc6c49961e6628924e07] | committer: 
James Almer

avformat/matroskadec: set all frames in a keyframe simple box as keyframes

And not just the first, as it was being done for lacing. The spec states that 
the
flag applies to everything inside the simple box.

Signed-off-by: James Almer <jamr...@gmail.com>
(cherry picked from commit f656c00bd953b1dd84c58dfef5dd645db818ba3d)

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

 libavformat/matroskadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index c8741ff2af..a2947c97e7 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -4224,7 +4224,7 @@ static int matroska_parse_block(MatroskaDemuxContext 
*matroska, AVBufferRef *buf
         } else {
             res = matroska_parse_frame(matroska, track, st, buf, out_data,
                                        out_size, timecode, lace_duration,
-                                       pos, !n ? is_keyframe : 0,
+                                       pos, is_keyframe,
                                        blockmore, nb_blockmore,
                                        discard_padding);
             if (res)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to