From 2f0f5b2059563a8478a6ef90ceec37089a8dcbcf Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 12 Sep 2002 12:46:34 +0000
Subject: [PATCH] mpegvideo_probe cant distinguish mpeg4 and mpeg1 raws :( so
 m4v needs "-f m4v" now

Originally committed as revision 926 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libav/raw.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libav/raw.c b/libav/raw.c
index 6cfa268e13f..1d52dded78c 100644
--- a/libav/raw.c
+++ b/libav/raw.c
@@ -244,10 +244,11 @@ AVInputFormat m4v_iformat = {
     "m4v",
     "raw MPEG4 video format",
     0,
-    mpegvideo_probe,
+    NULL /*mpegvideo_probe*/,
     video_read_header,
     raw_read_packet,
     raw_read_close,
+    extensions: "m4v", //FIXME remove after writing mpeg4_probe
     value: CODEC_ID_MPEG4,
 };
 
-- 
GitLab