[FFmpeg-trac] #6554(undetermined:new): fate-sws-pixdesc-query fails on big-endian systems

FFmpeg trac at avcodec.org
Thu Jul 27 15:28:54 EEST 2017


#6554: fate-sws-pixdesc-query fails on big-endian systems
-------------------------------------+-------------------------------------
             Reporter:  jcowgill     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 The "fate-sws-pixdesc-query" test fails on all big-endian systems.

 Full build log for mips big endian (but the same error happens on various
 other architectures):
 https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=mips&ver=7%3A3.3.2-1&stamp=1501113121&raw=0

 Manually run on latest git master:

 {{{
 $
 LD_LIBRARY_PATH="libavcodec:libavdevice:libavfilter:libavformat:libavresample:libavutil:libpostproc:libswresample:libswscale"
 make fate-sws-pixdesc-query
 TEST    sws-pixdesc-query
 --- /build/upstream/tests/ref/fate/sws-pixdesc-query    2017-07-27
 11:47:57.377857169 +0000
 +++ tests/data/fate/sws-pixdesc-query   2017-07-27 12:05:45.276166571
 +0000
 @@ -407,8 +407,8 @@
    rgb8
    rgb4
    rgb4_byte
 -  abgr
 -  bgra
 +  argb
 +  rgba
    rgb48be
    rgb48le
    rgb565be
 @@ -427,8 +427,8 @@
    bgr8
    bgr4
    bgr4_byte
 -  argb
 -  rgba
 +  abgr
 +  bgra
    bgr565be
    bgr565le
    bgr555be
 Test sws-pixdesc-query failed. Look at tests/data/fate/sws-pixdesc-
 query.err for details.
 /build/upstream/tests/Makefile:221: recipe for target 'fate-sws-pixdesc-
 query' failed
 }}}

 As far as I can tell, this probably has something to do with
 {{{AV_PIX_FMT_RGB32}}} being different on big and little endian systems,
 but I havn't investigated that much.

 If you fix this, please can you also fix this on the 3.3 branch.

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


More information about the FFmpeg-trac mailing list