projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc2dd7e
)
Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible point...
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 14 Feb 2009 15:44:46 +0000
(15:44 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 14 Feb 2009 15:44:46 +0000
(15:44 +0000)
The alternative (schoolbook) solution is less readable.
Originally committed as revision 17230 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/assdec.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/assdec.c
b/libavformat/assdec.c
index
82e6a71
..
32fb09d
100644
(file)
--- 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;