diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-19 14:55:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-19 14:55:58 +0200 |
commit | c9fe864472a2c55c7c4189ff6fb490bec8bd92b3 (patch) | |
tree | e6b713039096a079b01f66237e8516bdee893f2d /libavformat | |
parent | 5980e57cf9a08ca284bc1b5ffba2363f9eff8ca8 (diff) | |
parent | 4855022aa11ec7aa1a3bd9797814e84795634abe (diff) | |
download | ffmpeg-c9fe864472a2c55c7c4189ff6fb490bec8bd92b3.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
vorbisdec: remove some pointless comments
avprobe: add const to AVCodec pointer
libavformat: add const to AVCodec pointers
pthread: add const to AVCodec pointers
Conflicts:
ffprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index af1c2819e8..bf8cba43eb 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2328,7 +2328,7 @@ static int has_codec_parameters(AVStream *st, const char **errmsg_ptr) /* returns 1 or 0 if or if not decoded data was returned, or a negative error */ static int try_decode_frame(AVStream *st, AVPacket *avpkt, AVDictionary **options) { - AVCodec *codec; + const AVCodec *codec; int got_picture = 1, ret = 0; AVFrame picture; AVSubtitle subtitle; @@ -2508,7 +2508,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) av_log(ic, AV_LOG_DEBUG, "File position before avformat_find_stream_info() is %"PRId64"\n", avio_tell(ic->pb)); for(i=0;i<ic->nb_streams;i++) { - AVCodec *codec; + const AVCodec *codec; AVDictionary *thread_opt = NULL; st = ic->streams[i]; |