Fix wrong logical operator which causes too relaxed checking in VC-1 test
[ffmpeg.git] / libavformat / assdec.c
index 82e6a71..32fb09d 100644 (file)
@@ -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;