Skip to content
Snippets Groups Projects
Commit 72992236 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

avparser: fix missing const

parent aa5bec3b
No related branches found
No related tags found
1 merge request!1625avparser: fix missing const warning
......@@ -103,7 +103,7 @@ int avparser_OpenPacketizer( vlc_object_t *p_this )
if( !p_ctx )
return VLC_EGENERIC;
AVCodec * p_codec = avcodec_find_decoder( i_avcodec_id );
const AVCodec * p_codec = avcodec_find_decoder( i_avcodec_id );
if( unlikely( !p_codec ) )
{
av_parser_close( p_ctx );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment