X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fexamples%2Fhw_decode.c;h=096a229c0d2a9934b17ed4641cbbdd91ef5e042d;hb=46dac8cf3d250184ab4247809bc03f60e14f4c0c;hp=71be6e670914c49a81afb7554b32d3c8ec664ca1;hpb=626535f6a169e2d821b969e0ea77125ba7482113;p=ffmpeg diff --git a/doc/examples/hw_decode.c b/doc/examples/hw_decode.c index 71be6e67091..096a229c0d2 100644 --- a/doc/examples/hw_decode.c +++ b/doc/examples/hw_decode.c @@ -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;