[FFmpeg-devel] [PATCH 2/2] opus_parser: replace ff_parse_close with opus_parse_close

Hendrik Leppkes h.leppkes at gmail.com
Sat Dec 10 02:17:31 EET 2016


On Fri, Dec 9, 2016 at 11:46 PM, Andreas Cadhalpun
<andreas.cadhalpun at googlemail.com> wrote:
> On 09.12.2016 15:02, Hendrik Leppkes wrote:
>> On Fri, Dec 9, 2016 at 12:09 AM, Andreas Cadhalpun
>> <andreas.cadhalpun at googlemail.com> wrote:
>>> The former expects priv_data to be the ParseContext directly, so using
>>> it does not work.
>>>
>>
>> As an alternative re-order the OpusParseContext so that ParseContext
>> comes first, it then would work, and thats basically how its done in
>> the other parsers from what I can tell.
>
> Good idea, that makes the patch a bit shorter.
>

LGTM.

- Hendrik


More information about the ffmpeg-devel mailing list