--- /dev/null
+--- ffmpeg-0.8/libavutil/avutil.h~ 2011-06-21 22:08:33.000000000 +0200
++++ ffmpeg-0.8/libavutil/avutil.h 2011-07-26 22:35:36.646420640 +0200
+@@ -104,7 +104,8 @@
+ #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
+
+ enum AVPictureType {
+- AV_PICTURE_TYPE_I = 1, ///< Intra
++ AV_PICTURE_TYPE_NONE = 0, ///< Undefined
++ AV_PICTURE_TYPE_I, ///< Intra
+ AV_PICTURE_TYPE_P, ///< Predicted
+ AV_PICTURE_TYPE_B, ///< Bi-dir predicted
+ AV_PICTURE_TYPE_S, ///< S(GMC)-VOP MPEG4
Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo
Name: ffmpeg
Version: 0.8
-Release: 3
+Release: 4
# LGPL or GPL, chosen at configure time (GPL version is more featured)
# (postprocessing, some filters, x264, xavs, xvid, x11grab)
# using v3 allows Apache-licensed libs (opencore-amr, libvo-*enc)
Source3: ffserver.conf
Patch0: %{name}-bug-803.patch
Patch1: %{name}-gsm.patch
+Patch2: %{name}-AV_PICTURE_TYPE_NONE.patch
URL: http://www.ffmpeg.org/
BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel
%setup -q
%patch0 -p1
%patch1 -p0
+%patch2 -p0
# package the grep result for mplayer, the result formatted as ./mplayer/configure
cat <<EOF > ffmpeg-avconfig