Add more consts

Some decoder and recorder functions must not write to AVCodec and
AVPacket.
This commit is contained in:
Romain Vimont
2019-03-03 11:59:31 +01:00
parent f7efafd846
commit a7b3901c31
4 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ void
recorder_destroy(struct recorder *recorder);
bool
recorder_open(struct recorder *recorder, AVCodec *input_codec);
recorder_open(struct recorder *recorder, const AVCodec *input_codec);
void
recorder_close(struct recorder *recorder);