avformat/avformat, utils: Make av_find_best_stream const-correct

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Andreas Rheinhardt
2021-02-25 01:53:40 +01:00
committed by James Almer
parent 626535f6a1
commit 46dac8cf3d
8 changed files with 12 additions and 8 deletions

View File

@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
int video_stream, ret;
AVStream *video = NULL;
AVCodecContext *decoder_ctx = NULL;
AVCodec *decoder = NULL;
const AVCodec *decoder = NULL;
AVPacket packet;
enum AVHWDeviceType type;
int i;