diff options
author | mezz <mezz@FreeBSD.org> | 2007-04-12 00:18:19 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-04-12 00:18:19 +0800 |
commit | d7583fcd1dd05bcbca188e22a5fbca55a9371911 (patch) | |
tree | af68c36c60292725401ee12dc32302810d7325d8 /multimedia/mpeg4ip/files | |
parent | 02d62ef820740d2040ac9253d7605ac3d46d51a0 (diff) | |
download | freebsd-ports-gnome-d7583fcd1dd05bcbca188e22a5fbca55a9371911.tar.gz freebsd-ports-gnome-d7583fcd1dd05bcbca188e22a5fbca55a9371911.tar.zst freebsd-ports-gnome-d7583fcd1dd05bcbca188e22a5fbca55a9371911.zip |
Fix the build with new ffmpeg.
Reported by: many
Submitted by: bms
Diffstat (limited to 'multimedia/mpeg4ip/files')
-rw-r--r-- | multimedia/mpeg4ip/files/patch-fix_with_new_ffmpeg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/files/patch-fix_with_new_ffmpeg b/multimedia/mpeg4ip/files/patch-fix_with_new_ffmpeg new file mode 100644 index 000000000000..4e420df790f9 --- /dev/null +++ b/multimedia/mpeg4ip/files/patch-fix_with_new_ffmpeg @@ -0,0 +1,22 @@ +--- player/plugin/audio/ffmpeg/ffmpeg.cpp.orig Sun Apr 8 16:21:30 2007 ++++ player/plugin/audio/ffmpeg/ffmpeg.cpp Sun Apr 8 16:22:05 2007 +@@ -166,7 +166,7 @@ + break; + } + if (userdata) { +- ffmpeg->m_c->extradata = (void *)userdata; ++ ffmpeg->m_c->extradata = (uint8_t *)userdata; + ffmpeg->m_c->extradata_size = ud_size; + } + if (avcodec_open(ffmpeg->m_c, ffmpeg->m_codec) < 0) { +--- player/plugin/video/ffmpeg/ffmpeg.cpp.orig Sun Apr 8 16:22:49 2007 ++++ player/plugin/video/ffmpeg/ffmpeg.cpp Sun Apr 8 16:23:20 2007 +@@ -255,7 +255,7 @@ + } + break; + case CODEC_ID_SVQ3: +- ffmpeg->m_c->extradata = (void *)userdata; ++ ffmpeg->m_c->extradata = (uint8_t *)userdata; + ffmpeg->m_c->extradata_size = ud_size; + if (vinfo != NULL) { + ffmpeg->m_c->width = vinfo->width; |