[FFmpeg-devel] [PATCH]lavc/opus_rc: Case a const pointer to uint8_t *
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Dec 19 16:34:19 EET 2018
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 encoder.
> 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.
(... like arm Android)
I'll push this if there are no more comments.
More information about the ffmpeg-devel