diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-07 11:24:34 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-07 11:24:34 -0300 |
commit | a607668699d0ed030ac69ed31969dfa266439e38 (patch) | |
tree | 5b3e076437e78d8624668454afc1d82750d54c8a /community-testing/electricsheep/electricsheep-ffmpeg.patch | |
parent | 6b015d22b5b59eddb6e8c40989017d8492ac912c (diff) | |
parent | a4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/libraw/PKGBUILD
community-testing/virtualbox-modules/PKGBUILD
community-testing/virtualbox-modules/virtualbox-modules.install
community-testing/virtualbox/PKGBUILD
community-testing/virtualbox/vboxdrv-reference.patch
community-testing/virtualbox/virtualbox.install
community-testing/vtk/PKGBUILD
community/audex/PKGBUILD
community/critter/PKGBUILD
community/egoboo/PKGBUILD
community/fcgiwrap/PKGBUILD
community/hping/PKGBUILD
community/libesmtp/PKGBUILD
community/lockdev/PKGBUILD
community/pidgin-musictracker/PKGBUILD
community/pidgin-otr/PKGBUILD
community/pylibacl/PKGBUILD
community/pypanel/PKGBUILD
community/rdiff-backup/PKGBUILD
community/steghide/PKGBUILD
community/tabbed/PKGBUILD
community/transset-df/PKGBUILD
community/wyrd/PKGBUILD
core/openldap/PKGBUILD
core/sqlite3/PKGBUILD
extra/fltk/PKGBUILD
extra/thunar/PKGBUILD
extra/xfce4-clipman-plugin/PKGBUILD
multilib/lib32-acl/PKGBUILD
multilib/lib32-alsa-oss/PKGBUILD
multilib/lib32-glib2/PKGBUILD
multilib/lib32-libffi/PKGBUILD
multilib/lib32-libmng/PKGBUILD
multilib/lib32-libpciaccess/PKGBUILD
multilib/lib32-libusb-compat/PKGBUILD
multilib/lib32-libusb/PKGBUILD
multilib/wine/PKGBUILD
Diffstat (limited to 'community-testing/electricsheep/electricsheep-ffmpeg.patch')
-rw-r--r-- | community-testing/electricsheep/electricsheep-ffmpeg.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community-testing/electricsheep/electricsheep-ffmpeg.patch b/community-testing/electricsheep/electricsheep-ffmpeg.patch new file mode 100644 index 000000000..b04cf41b0 --- /dev/null +++ b/community-testing/electricsheep/electricsheep-ffmpeg.patch @@ -0,0 +1,36 @@ +diff -Naur electricsheep-2.7b12.orig/electricsheep.c electricsheep-2.7b12/electricsheep.c +--- electricsheep-2.7b12.orig/electricsheep.c 2011-10-31 22:36:30.000000000 -0400 ++++ electricsheep-2.7b12/electricsheep.c 2011-10-31 22:40:04.000000000 -0400 +@@ -662,7 +662,7 @@ + input_stream_index = -1; + for (j = 0; j < ictx->nb_streams; j++) { + AVCodecContext *enc = ictx->streams[j]->codec; +- if (CODEC_TYPE_VIDEO == enc->codec_type) { ++ if (AVMEDIA_TYPE_VIDEO == enc->codec_type) { + input_stream_index = j; + break; + } +@@ -730,7 +730,7 @@ + av_init_packet(&opkt); + if (av_parser_change(ictx->streams[input_stream_index]->parser, output_ctx->streams[0]->codec, + &opkt.data, &opkt.size, ipkt.data, ipkt.size, +- ipkt.flags & PKT_FLAG_KEY)) ++ ipkt.flags & AV_PKT_FLAG_KEY)) + opkt.destruct= av_destruct_packet; + + if (-1 == av_interleaved_write_frame(output_ctx, &opkt)) { +diff -Naur electricsheep-2.7b12.orig/electricsheep.c electricsheep-2.7b12/electricsheep.c +--- electricsheep-2.7b12.orig/electricsheep.c 2011-11-01 00:21:51.000000000 -0400 ++++ electricsheep-2.7b12/electricsheep.c 2011-11-01 00:25:10.000000000 -0400 +@@ -686,9 +686,9 @@ + } + } + +- output_ctx = av_alloc_format_context(); ++ output_ctx = avformat_alloc_context(); + +- ofmt = guess_format(NULL, fname, NULL); ++ ofmt = av_guess_format(NULL, fname, NULL); + if (!ofmt) { + fprintf(logout, "could not determine format from %s.\n", fname); + exit(1); |