File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ struct ffmpeg_data
7979 AVIOContext * pb ;
8080 AVStream * stream ;
8181 AVCodecContext * enc ;
82- AVCodec * codec ;
82+ const AVCodec * codec ;
8383 AVDictionary * opts ;
8484
8585 char * remain_buf ;
@@ -864,7 +864,7 @@ static int ffmpeg_can_decode (struct io_stream *stream)
864864{
865865 int res ;
866866 AVProbeData probe_data ;
867- AVInputFormat * fmt ;
867+ const AVInputFormat * fmt ;
868868 char buf [8096 + AVPROBE_PADDING_SIZE ] = {0 };
869869
870870 res = io_peek (stream , buf , sizeof (buf ));
@@ -1434,7 +1434,7 @@ static int ffmpeg_our_format_ext (const char *ext)
14341434
14351435static int ffmpeg_our_format_mime (const char * mime_type )
14361436{
1437- AVOutputFormat * fmt ;
1437+ const AVOutputFormat * fmt ;
14381438
14391439 fmt = av_guess_format (NULL , NULL , mime_type );
14401440 return fmt ? 1 : 0 ;
You can’t perform that action at this time.
0 commit comments