[vlc-commits] [Git][videolan/vlc][3.0.x] demux: avi: deal with AVC1

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Mar 27 17:51:03 UTC 2026



Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC


Commits:
d51d06fc by François Cartegnie at 2026-03-27T18:24:55+01:00
demux: avi: deal with AVC1

(cherry picked from commit bb984a8129455615de2c8fad4c38a00e493af8a2)

- - - - -


1 changed file:

- modules/demux/avi/avi.c


Changes:

=====================================
modules/demux/avi/avi.c
=====================================
@@ -738,6 +738,11 @@ static int Open( vlc_object_t * p_this )
                     tk->fmt.b_packetized = false;
                 }
 
+                if( tk->fmt.i_codec == VLC_CODEC_H264 && tk->fmt.i_extra )
+                {
+                    tk->fmt.i_original_fourcc = VLC_FOURCC('a','v','c','1');
+                }
+
                 tk->i_samplesize = 0;
 
                 tk->fmt.video.i_visible_width =



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d51d06fcad0252d1aff2b6c2b5e197f04bf3a53b
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list