[FFmpeg-devel] [PATCH]lavc/opus_rc: Case a const pointer to uint8_t *
Paul B Mahol
onemda at gmail.com
Mon Dec 17 23:29:04 EET 2018
On 12/17/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2018-12-17 22:26 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
>> On 12/17/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>>> 2018-12-17 2:47 GMT+01:00, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>>>> The Opus struct RawBitsContext is used in both the decoder and the
>>>> The fact that *position is const avoids warnings in the decoder where
>>>> it points into the bitstream. The encoder writes into the same
>>>> pointer, attached cast silences the warning on targets where AV_WB32()
>>>> does not internally cast the qualifier away.
>> Anonymous unions are not accepted. NAK 2X!
> Again: There is no union in this patch.
Use "grep union" on your patch.
More information about the ffmpeg-devel