]> git.pld-linux.org Git - packages/kino.git/blame - kino-fix_bigendian_warning.patch
- add segfault_empty_chapter,fix_avi_packing,fix_no_mplex,fix_bigendian_warning patch...
[packages/kino.git] / kino-fix_bigendian_warning.patch
CommitLineData
6afc24d6
ER
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## Paul Brossier <piem@debian.org>
3## DP: fix unused variable on bigendian arch
4
5@DPATCH@
6--- kino-0.76.orig/src/page_export_avi.cc
7+++ kino-0.76/src/page_export_avi.cc
8@@ -213,8 +213,10 @@
9 time_t datetime = time( NULL );
10 int frameNum = 0;
11 int i;
12+#if BYTE_ORDER == LITTLE_ENDIAN
13 bool resample = gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(
14 lookup_widget( common->getWidget(), "checkbutton_export_avi_resample" ) ) );
15+#endif
16 int16_t *audio_buffers[ 4 ];
17 AudioInfo info;
18 AudioResample<int16_ne_t,int16_le_t> *resampler = NULL;
This page took 0.021692 seconds and 4 git commands to generate.