[libav-bugs] [Bug 1140] New: x264 dropped the use of x264_bit_depth global variable

bugzilla at libav.org bugzilla at libav.org
Mon Nov 19 02:23:35 CET 2018


https://bugzilla.libav.org/show_bug.cgi?id=1140

            Bug ID: 1140
           Summary: x264 dropped the use of x264_bit_depth global variable
           Product: Libav
           Version: 12
          Hardware: Other
                OS: All
            Status: NEW
          Severity: major
          Priority: ---
         Component: libavcodec
          Assignee: bugzilla at libav.org
          Reporter: thierry.moisan at gmail.com

A commit in x264 last year[1] dropped the use of the x264_bit_depth global
variable. This variable is still used by libavcodec in libx264.c . Libav
compilation fails with the latest stable commit:

libavcodec/libx264.c:246:9: error: use of undeclared identifier
'x264_bit_depth'
    if (x264_bit_depth > 8)
        ^
libavcodec/libx264.c:707:9: error: use of undeclared identifier
'x264_bit_depth'
    if (x264_bit_depth == 8)
        ^
libavcodec/libx264.c:709:14: error: use of undeclared identifier
'x264_bit_depth'
    else if (x264_bit_depth == 9)
             ^
libavcodec/libx264.c:711:14: error: use of undeclared identifier
'x264_bit_depth'
    else if (x264_bit_depth == 10)
             ^
4 errors generated.
make: *** [libavcodec/libx264.o] Error 1


Note that I found this error while trying to update x264 to the latest stable
commit on Homebrew[2].


[1]:
https://git.videolan.org/?p=x264.git;a=commit;h=71ed44c7312438fac7c5c5301e45522e57127db4
[2]: https://github.com/Homebrew/homebrew-core/pull/34063

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20181119/678cdee9/attachment.html>


More information about the libav-bugs mailing list