summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3834c9869f..23bdaa207b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1598,7 +1598,7 @@ typedef struct AVFormatContext {
* the same codec_id.
* Demuxing: Set by user
*/
- AVCodec *video_codec;
+ const AVCodec *video_codec;
/**
* Forced audio codec.
@@ -1606,7 +1606,7 @@ typedef struct AVFormatContext {
* the same codec_id.
* Demuxing: Set by user
*/
- AVCodec *audio_codec;
+ const AVCodec *audio_codec;
/**
* Forced subtitle codec.
@@ -1614,7 +1614,7 @@ typedef struct AVFormatContext {
* the same codec_id.
* Demuxing: Set by user
*/
- AVCodec *subtitle_codec;
+ const AVCodec *subtitle_codec;
/**
* Forced data codec.
@@ -1622,7 +1622,7 @@ typedef struct AVFormatContext {
* the same codec_id.
* Demuxing: Set by user
*/
- AVCodec *data_codec;
+ const AVCodec *data_codec;
/**
* Number of bytes to be written as padding in a metadata header.