[vlc-commits] mp4: use VLC_CODEC_YUYV

Rémi Denis-Courmont git at videolan.org
Fri Mar 18 05:50:57 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar 18 06:50:40 2016 +0200| [b9b380c851e8efd935cc71050a99e39701c4a69f] | committer: Rémi Denis-Courmont

mp4: use VLC_CODEC_YUYV

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

 modules/demux/mp4/essetup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 501f22a..bca3b7b 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -216,7 +216,7 @@ int SetupVideoES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
             p_track->fmt.i_codec = VLC_CODEC_YV12;
             break;
         case VLC_FOURCC('y','u','v','2'):
-            p_track->fmt.i_codec = VLC_FOURCC('Y','U','Y','2');
+            p_track->fmt.i_codec = VLC_CODEC_YUYV;
             break;
         case VLC_FOURCC('r','a','w',' '):
             switch( p_vide->i_depth ) {



More information about the vlc-commits mailing list