[FFmpeg-soc] [soc]: r976 - in jpeg2000: avformat.patch checkout.sh

k.nowosad subversion at mplayerhq.hu
Sat Aug 18 22:39:28 CEST 2007


Author: k.nowosad
Date: Sat Aug 18 22:39:28 2007
New Revision: 976

Log:
patch, which adds another j2k tag to riff.c


Added:
   jpeg2000/avformat.patch
Modified:
   jpeg2000/checkout.sh

Added: jpeg2000/avformat.patch
==============================================================================
--- (empty file)
+++ jpeg2000/avformat.patch	Sat Aug 18 22:39:28 2007
@@ -0,0 +1,12 @@
+Index: riff.c
+===================================================================
+--- riff.c	(wersja 9451)
++++ riff.c	(kopia robocza)
+@@ -169,6 +169,7 @@
+     { CODEC_ID_ZMBV, MKTAG('Z', 'M', 'B', 'V') },
+     { CODEC_ID_KMVC, MKTAG('K', 'M', 'V', 'C') },
+     { CODEC_ID_CAVS, MKTAG('C', 'A', 'V', 'S') },
++    { CODEC_ID_JPEG2000, MKTAG('m', 'j', 'p', '2') },
+     { CODEC_ID_JPEG2000, MKTAG('M', 'J', '2', 'C') },
+     { CODEC_ID_VMNC, MKTAG('V', 'M', 'n', 'c') },
+     { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') },

Modified: jpeg2000/checkout.sh
==============================================================================
--- jpeg2000/checkout.sh	(original)
+++ jpeg2000/checkout.sh	Sat Aug 18 22:39:28 2007
@@ -1,7 +1,9 @@
 echo "checking out ffmpeg svn"
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk/ ffmpeg
 echo "patching ffmpeg"
-cd ffmpeg/libavcodec ;
+cd ffmpeg/libavformat ;
+patch -p0 <../../avformat.patch
+cd ../libavcodec ;
 patch -p0 <../../ffmpeg.patch
 echo "copying the jpeg2000 files to ffmpeg/libavcodec"
 ln -s ../../j2kenc.c j2kenc.c



More information about the FFmpeg-soc mailing list