diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-02-14 15:44:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-14 15:44:46 +0000 |
commit | 8ba311410ab54cdaa7192f4077b5ff7fff508ba5 (patch) | |
tree | aae751326c154715bd8307e95996932af8cbcfa9 /libavformat/assdec.c | |
parent | fc2dd7e3defcba84ffe36ddf1452170f85143129 (diff) | |
download | ffmpeg-8ba311410ab54cdaa7192f4077b5ff7fff508ba5.tar.gz |
Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"
The alternative (schoolbook) solution is less readable.
Originally committed as revision 17230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/assdec.c')
-rw-r--r-- | libavformat/assdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c index 82e6a712d7..32fb09d22d 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -143,7 +143,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) p++; } - qsort(ass->event, ass->event_count, sizeof(*ass->event), event_cmp); + qsort(ass->event, ass->event_count, sizeof(*ass->event), (void*)event_cmp); return 0; |