[vlc-commits] mux: mp4: fix YUYV mapping

Francois Cartegnie git at videolan.org
Mon Jan 13 18:09:59 CET 2020


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan  8 20:48:59 2020 +0100| [fe933475d699ae31a4907a51fa8a377c6f058704] | committer: Francois Cartegnie

mux: mp4: fix YUYV mapping

(cherry picked from commit 3e4cc6b6dd1c29373e524f436c80f697b1d72ff1)

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

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

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index c806edf796..03c767695b 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -954,7 +954,7 @@ static bo_t *GetVideBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
      * see 14496-15 8.4.1.1.1 */
     case VLC_CODEC_HEVC: memcpy(fcc, "hev1", 4); break;
     case VLC_CODEC_YV12: memcpy(fcc, "yv12", 4); break;
-    case VLC_CODEC_YUYV: memcpy(fcc, "yuy2", 4); break;
+    case VLC_CODEC_YUYV: memcpy(fcc, "YUY2", 4); break;
     default:
         vlc_fourcc_to_char(p_track->fmt.i_codec, fcc);
         break;



More information about the vlc-commits mailing list