diff options
Diffstat (limited to 'doc/examples/hw_decode.c')
-rw-r--r-- | doc/examples/hw_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/hw_decode.c b/doc/examples/hw_decode.c index 71be6e6709..096a229c0d 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; |