#1253: FFMpeg don't handle files with some characters
--------------------------------+--------------------------------------
             Reporter:  Uno     |                    Owner:
                 Type:  defect  |                   Status:  closed
             Priority:  normal  |                Component:  FFmpeg
              Version:  0.10.2  |               Resolution:  worksforme
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+--------------------------------------

Comment (by Uno):

 I'm using the official sources.

 These are the sources: http://ffmpeg.org/releases/ffmpeg-0.10.2.tar.bz2

 There are just 2 patch that are not involved in filename reading.

 And it's the same on two machines.

 CFLAGS="-march=amdfam10 -msse4a -mabm -O2 -pipe -fomit-frame-pointer"
 and
 CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"

 With the configuration arguments above.

 $BASH_VERSION=4.2.20(1)-release

 The patches:


 {{{
 Autodetect PowerPC vs. PowerPC64.

 This is the same code as for x86_64.
 This is necessary because uname returns PPC64 if the hardware
 is 64 bit, however the userland can still be fully 32 bit.
 In that case FFmpeg fails to compile because some macros in the
 asm code are set up incorrectly.
 For details see https://bugs.gentoo.org/show_bug.cgi?id=341235
 https://bugs.gentoo.org/show_bug.cgi?id=387207

 author: Reimar Döffinger <[email protected]>

 diff --git a/configure b/configure
 index 6aa194c..0752d73 100755
 --- a/configure
 +++ b/configure
 @@ -2188,13 +2188,9 @@ case "$arch" in
          arch="parisc"
          subarch="parisc64"
      ;;
 -    "Power Macintosh"|ppc|powerpc)
 +    "Power Macintosh"|ppc|powerpc|ppc64|powerpc64)
          arch="ppc"
      ;;
 -    ppc64|powerpc64)
 -        arch="ppc"
 -        subarch="ppc64"
 -    ;;
      s390|s390x)
          arch="s390"
      ;;
 @@ -2392,6 +2388,11 @@ EOF
              spic=$shared
          fi
      ;;
 +    ppc)
 +        check_cc <<EOF && subarch="ppc64"
 +        int test[(int)sizeof(char*) - 7];
 +EOF
 +    ;;
  esac

  enable $subarch
 commit cfec77aaf8186f556e1201be13ce487b99b3b831
 Author: Anton Khirnov <[email protected]>
 Date:   Sun Apr 1 18:56:26 2012 +0200

     configure: add dl to frei0r extralibs.

 diff --git a/configure b/configure
 index 4606b23..e207ed8 100755
 --- a/configure
 +++ b/configure
 @@ -1526,7 +1526,9 @@ cropdetect_filter_deps="gpl"
  delogo_filter_deps="gpl"
  drawtext_filter_deps="libfreetype"
  frei0r_filter_deps="frei0r dlopen"
 +frei0r_filter_extralibs='$ldl'
  frei0r_src_filter_deps="frei0r dlopen"
 +frei0r_src_filter_extralibs='$ldl'
  hqdn3d_filter_deps="gpl"
  ocv_filter_deps="libopencv"
  scale_filter_deps="swscale"
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1253#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to