mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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
This commit is contained in:
parent
fc2dd7e3de
commit
8ba311410a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue