1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Merge pull request #1128 from srcejon/fix_demoddatv_const_error

DATV Demod - Make AVCodecs const
This commit is contained in:
Edouard Griffiths 2022-02-06 12:08:29 +01:00 committed by GitHub
commit 361d7232fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,8 +160,8 @@ void DATVideoRender::resetMetaData()
bool DATVideoRender::preprocessStream()
{
AVDictionary *opts = nullptr;
AVCodec *videoCodec = nullptr;
AVCodec *audioCodec = nullptr;
const AVCodec *videoCodec = nullptr;
const AVCodec *audioCodec = nullptr;
int intRet = -1;
char *buffer = nullptr;