Displaying 2 results from an estimated 2 matches for "swfdec_swf_decoder_eof".
2007 Nov 24
1
[Bug 13381] New: swfdec_swf_decoder_eof brokern transmission error
http://bugs.freedesktop.org/show_bug.cgi?id=13381
Summary: swfdec_swf_decoder_eof brokern transmission error
Product: swfdec
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: library
AssignedTo: swfdec at lists.freedesktop.org...
2007 Nov 12
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_decoder.c libswfdec/swfdec_decoder.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_image.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_image_decoder.h
...bswfdec/swfdec_swf_decoder.c b/libswfdec/swfdec_swf_decoder.c
index 4a9b069..ae5311c 100644
--- a/libswfdec/swfdec_swf_decoder.c
+++ b/libswfdec/swfdec_swf_decoder.c
@@ -387,6 +387,17 @@ swfdec_swf_decoder_parse (SwfdecDecoder *dec, SwfdecBuffer *buffer)
return status;
}
+static SwfdecStatus
+swfdec_swf_decoder_eof (SwfdecDecoder *dec)
+{
+ if (dec->bytes_loaded < dec->bytes_total) {
+ SWFDEC_ERROR ("only %u of %u bytes provided, broken transmission?",
+ dec->bytes_loaded, dec->bytes_total);
+ }
+
+ return 0;
+}
+
static void
swfdec_swf_decoder_class_init (SwfdecSwfDecoderClas...