diff options
author | jamal <jamrial@gmail.com> | 2012-07-27 13:11:01 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-30 03:48:46 +0200 |
commit | 938e4470aeb94edb50d0999c81457132d0668603 (patch) | |
tree | 7221dfdcb40ebebec1c6c3811e7f25eb034647d3 /libavformat/options.c | |
parent | 7d1918affee4bc70fb8ac139ba9235e7fed2979b (diff) | |
download | ffmpeg-938e4470aeb94edb50d0999c81457132d0668603.tar.gz |
options: Fix warning about incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 8548381a24..42307d170f 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -76,8 +76,9 @@ static const AVClass *format_child_class_next(const AVClass *prev) return NULL; } -static AVClassCategory get_category(AVFormatContext *s) +static AVClassCategory get_category(void *ptr) { + AVFormatContext* s = ptr; if(s->iformat) return AV_CLASS_CATEGORY_DEMUXER; else return AV_CLASS_CATEGORY_MUXER; } |