• Måns Rullgård's avatar
    Fix lavfi pixdesc test · 7c1bb914
    Måns Rullgård authored
    This test verifies the pixdesc code by comparing the output with and
    without a filter which should have no effect on the image.  Since the
    available pixel formats depend on the byte order of the machine, a
    simple reference checksum is not possible.
    
    The test originally tried to solve this by generating a reference file
    on the fly.  The problem with this is that the test framework expects
    the reference file in the source tree, and writing to the source tree
    is not allowed.
    
    To avoid complicating the test framework, we instead provide two
    reference files and select which to use based on the byte order.
    
    Originally committed as revision 24330 to svn://svn.ffmpeg.org/ffmpeg/trunk
    7c1bb914
lavfi-regression.sh 2.87 KB