[FFmpeg-trac] #2603(avutil:new): mingw32 cross compile issue

FFmpeg trac at avcodec.org
Thu May 23 09:54:13 CEST 2013


#2603: mingw32 cross compile issue
-------------------------------------+-------------------------------------
             Reporter:  Huemac       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avutil       |                  Version:  git-
             Keywords:  mingw32      |  master
  cross compile issue                |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Could someone please append a semicolon after this line in
 libavutil/opencl.c function "av_opencl_release_kernel" :

 https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/opencl.c#L449

 From this:
 {{{
 end:
   UNLOCK_OPENCL
 }}}
 To this:
 {{{
 end:
   UNLOCK_OPENCL;
 }}}

 If I manually do this change to the source code it compiles with no
 errors. If it's not there it says:

 {{{
 libavutil/opencl.c: In function ‘av_opencl_release_kernel’:
 libavutil/opencl.c:448:1: error: label at end of compound statement
 make: *** [libavutil/opencl.o] Error 1
 }}}

 And as you can see from the opencl.c code that in other similar cases the
 semicolon is there!

 I'm building on Ubuntu Precise Pangolin to Win32 using mingw32.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2603>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list