Displaying 1 result from an estimated 1 matches for "comp_end".
2007 Oct 11
0
12 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_frame.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_shape_parser.c libswfdec/swfdec_sound.c test/sound
...ith a useful
+ * error message if they don't match.
+ *
+ * Returns: TRUE if the 2 files are equal
+ **/
static gboolean
audio_diff (SwfdecBuffer *compare, SwfdecBuffer *original, const char *filename)
{
- guint i;
- gint16 *comp_data, *org_data;
+ guint i, length;
+ gint16 *comp_data, *comp_end, *org_data;
/* must hold since we are rendering it */
- g_assert (compare->length % 2 == 0);
- if (original->length % 2 != 0) {
+ g_assert (compare->length % 4 == 0);
+ if (original->length % 4 != 0) {
g_print (" ERROR: %s: filesize (%u bytes) not multiple of 4\n&q...