[vlc-commits] [Git][videolan/vlc][master] demux: mkv: fix ProRes incomplete frame container atom

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Sep 2 10:05:40 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
618a236d by François Cartegnie at 2026-09-02T09:52:41+00:00
demux: mkv: fix ProRes incomplete frame container atom

fix #30087

- - - - -


1 changed file:

- modules/demux/mkv/mkv.cpp


Changes:

=====================================
modules/demux/mkv/mkv.cpp
=====================================
@@ -637,7 +637,10 @@ static void BlockDecode( demux_t *p_demux, KaxBlock *block, KaxSimpleBlock *simp
             memcpy( p_block->p_buffer, track.p_compression_data->GetBuffer(), track.p_compression_data->GetSize() );
         }
         if ( track.fmt.i_codec == VLC_CODEC_PRORES )
+        {
+            SetDWBE( p_block->p_buffer, p_block->i_buffer - 8);
             memcpy( p_block->p_buffer + 4, "icpf", 4 );
+        }
 
         if ( b_key_picture )
             p_block->i_flags |= BLOCK_FLAG_TYPE_I;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/618a236d93702381f10ca1b0481c3048bdf9a515

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/618a236d93702381f10ca1b0481c3048bdf9a515
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list