archrelease: copy trunk to extra-x86_64
[arch-packages.git] / openal / trunk / ffmpeg-5.0.diff
blob98764ec439616b3c44739a25cfd48f33231fab91
1 diff --git i/examples/alffplay.cpp w/examples/alffplay.cpp
2 index b9739e7b..806ef10c 100644
3 --- i/examples/alffplay.cpp
4 +++ w/examples/alffplay.cpp
5 @@ -1804,7 +1804,7 @@ int MovieState::streamComponentOpen(unsigned int stream_index)
6 if(avcodec_parameters_to_context(avctx.get(), mFormatCtx->streams[stream_index]->codecpar))
7 return -1;
9 - AVCodec *codec{avcodec_find_decoder(avctx->codec_id)};
10 + const AVCodec *codec{avcodec_find_decoder(avctx->codec_id)};
11 if(!codec || avcodec_open2(avctx.get(), codec, nullptr) < 0)
13 std::cerr<< "Unsupported codec: "<<avcodec_get_name(avctx->codec_id)