summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-12-12 09:58:13 +0000
committerwiz <wiz@pkgsrc.org>2012-12-12 09:58:13 +0000
commit67ea581f95cc85ec5502e2a1f36ce9cb5dfaf2f6 (patch)
tree5a528955a689166e81b6f39ffcb060aac3b10c3a
parent23553755424f45d33f1d3a769f4ee2f970769e2a (diff)
downloadpkgsrc-67ea581f95cc85ec5502e2a1f36ce9cb5dfaf2f6.tar.gz
Remove obsolete patch (after 2.4 update)
-rw-r--r--emulators/vice/patches/patch-src_gfxoutputdrv_ffmpegdrv.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/emulators/vice/patches/patch-src_gfxoutputdrv_ffmpegdrv.c b/emulators/vice/patches/patch-src_gfxoutputdrv_ffmpegdrv.c
deleted file mode 100644
index dfa19d9a1eb..00000000000
--- a/emulators/vice/patches/patch-src_gfxoutputdrv_ffmpegdrv.c
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-src_gfxoutputdrv_ffmpegdrv.c,v 1.1 2012/10/10 13:40:06 drochner Exp $
-
-Fix build with ffmpeg-0.10.
-
---- src/gfxoutputdrv/ffmpegdrv.c.orig 2011-02-14 17:20:56.000000000 +0000
-+++ src/gfxoutputdrv/ffmpegdrv.c
-@@ -342,7 +342,7 @@ static int ffmpegmovie_init_audio(int sp
-
- c = st->codec;
- c->codec_id = ffmpegdrv_fmt->audio_codec;
-- c->codec_type = CODEC_TYPE_AUDIO;
-+ c->codec_type = AVMEDIA_TYPE_AUDIO;
- c->sample_fmt = SAMPLE_FMT_S16;
-
- /* put sample parameters */
-@@ -370,7 +370,7 @@ static int ffmpegmovie_encode_audio(soun
- pkt.size = (*ffmpeglib.p_avcodec_encode_audio)(c,
- audio_outbuf, audio_outbuf_size, audio_in->buffer);
- pkt.pts = c->coded_frame->pts;
-- pkt.flags |= PKT_FLAG_KEY;
-+ pkt.flags |= AV_PKT_FLAG_KEY;
- pkt.stream_index = audio_st->index;
- pkt.data = audio_outbuf;
-
-@@ -559,7 +559,7 @@ static void ffmpegdrv_init_video(screens
-
- c = st->codec;
- c->codec_id = ffmpegdrv_fmt->video_codec;
-- c->codec_type = CODEC_TYPE_VIDEO;
-+ c->codec_type = AVMEDIA_TYPE_VIDEO;
-
- /* put sample parameters */
- c->bit_rate = video_bitrate;
-@@ -819,7 +819,7 @@ static int ffmpegdrv_record(screenshot_t
- if (ffmpegdrv_oc->oformat->flags & AVFMT_RAWPICTURE) {
- AVPacket pkt;
- (*ffmpeglib.p_av_init_packet)(&pkt);
-- pkt.flags |= PKT_FLAG_KEY;
-+ pkt.flags |= AV_PKT_FLAG_KEY;
- pkt.stream_index = video_st->index;
- pkt.data = (uint8_t*)picture;
- pkt.size = sizeof(AVPicture);
-@@ -840,7 +840,7 @@ static int ffmpegdrv_record(screenshot_t
- (*ffmpeglib.p_av_init_packet)(&pkt);
- pkt.pts = c->coded_frame->pts;
- if (c->coded_frame->key_frame)
-- pkt.flags |= PKT_FLAG_KEY;
-+ pkt.flags |= AV_PKT_FLAG_KEY;
- pkt.stream_index = video_st->index;
- pkt.data = video_outbuf;
- pkt.size = out_size;