Also constify AVProbeData.
Showing the changes to libavfilter (2 of 29 files). Show all
Unified · Split
| @@ -26,7 +26,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4], · 25 unmodified lines | ||
| 26 | 26 | int *w, int *h, enum AVPixelFormat *pix_fmt, |
| 27 | 27 | const char *filename, void *log_ctx) |
| 28 | 28 | { |
| 29 | − AVInputFormat *iformat = NULL; | |
| 29 | + const AVInputFormat *iformat = NULL; | |
| 30 | 30 | AVFormatContext *format_ctx = NULL; |
| 31 | 31 | const AVCodec *codec; |
| 32 | 32 | AVCodecContext *codec_ctx = NULL; |
| @@ -205,7 +205,7 @@ static int guess_channel_layout(MovieStream *st, int st_index, void *log_ctx) · 204 unmodified lines | ||
| 205 | 205 | static av_cold int movie_common_init(AVFilterContext *ctx) |
| 206 | 206 | { |
| 207 | 207 | MovieContext *movie = ctx->priv; |
| 208 | − AVInputFormat *iformat = NULL; | |
| 208 | + const AVInputFormat *iformat = NULL; | |
| 209 | 209 | int64_t timestamp; |
| 210 | 210 | int nb_streams = 1, ret, i; |
| 211 | 211 | char default_streams[16], *stream_specs, *spec, *cursor; |