[libav-bugs] [Bug 916] New: avresample_buffer() input buffer should reassure caller read only

bugzilla at libav.org bugzilla at libav.org
Thu Dec 10 01:25:31 CET 2015


            Bug ID: 916
           Summary: avresample_buffer() input buffer should reassure
                    caller read only
           Product: Libav
           Version: git HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: ---
         Component: libavresample
          Assignee: bugzilla at libav.org
          Reporter: kip at thevertigo.com

Created attachment 571
  --> https://bugzilla.libav.org/attachment.cgi?id=571&action=edit
Patch to ensure avresample_buffer() caller's input buffer will not be modified.

Although the task of patching all of libav for const correctness is beyond my
time at present, the attached is small patch to at least allow libav client
code to compile cleanly when calling avresample_buffer() with an input buffer
it needs to be reassured will not be modified.

>From what I could see, the changes needed were only minor syntactical, so I
hope there wasn't something more fundamental / deeper why avresample_convert()
could potentially need to tamper with the input buffer (e.g. dependent
ff_audio_data_init's read_only parameter?).

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/20151210/22f05dff/attachment.html>

More information about the libav-bugs mailing list