projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e336139
)
correct type of qsort() comparison callback
author
Måns Rullgård
<mans@mansr.com>
Sat, 16 Jun 2007 15:15:17 +0000
(15:15 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sat, 16 Jun 2007 15:15:17 +0000
(15:15 +0000)
Originally committed as revision 9338 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/fraps.c
patch
|
blob
|
history
diff --git
a/libavcodec/fraps.c
b/libavcodec/fraps.c
index
1f71327
..
71a4219
100644
(file)
--- a/
libavcodec/fraps.c
+++ b/
libavcodec/fraps.c
@@
-88,7
+88,8
@@
static int decode_init(AVCodecContext *avctx)
* Comparator - our nodes should ascend by count
* but with preserved symbol order
*/
-static int huff_cmp(const Node *a, const Node *b){
+static int huff_cmp(const void *va, const void *vb){
+ const Node *a = va, *b = vb;
return (a->count - b->count)*256 + a->sym - b->sym;
}