libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit ae35eccea287974e2e157c0b5d2109463ae63db8
parent 4eec0dd297264a6dfadd8ae8a1b89438a54d5648
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 15 Oct 2017 20:58:34 +0200

remove useless assignment

Diffstat:
Msrc/plugins/ogg_extractor.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/plugins/ogg_extractor.c b/src/plugins/ogg_extractor.c @@ -75,7 +75,7 @@ read_ogg (void *ptr, size_t size, size_t nmemb, void *datasource) * @param whence how to seek * @return -1 on error, new position on success */ -static int +static int seek_ogg (void *datasource, ogg_int64_t offset, int whence) @@ -92,7 +92,7 @@ seek_ogg (void *datasource, * Tell ogg where we are in the file * * @param datasource the 'struct EXTRACTOR_ExtractContext' - * @return + * @return */ static long tell_ogg (void *datasource) @@ -114,7 +114,7 @@ tell_ogg (void *datasource) * @return NULL on error, otherwise the meta data */ static char * -get_comment (vorbis_comment *vc, +get_comment (vorbis_comment *vc, const char *label) { if (NULL == vc) @@ -176,7 +176,6 @@ EXTRACTOR_ogg_extract_method (struct EXTRACTOR_ExtractContext *ec) ov_clear (&vf); return; } - ret = 0; ADD (EXTRACTOR_METATYPE_MIMETYPE, "application/ogg"); if ((comments->vendor != NULL) && (strlen (comments->vendor) > 0)) ADD (EXTRACTOR_METATYPE_VENDOR, comments->vendor); @@ -202,4 +201,3 @@ FINISH: } /* end of ogg_extractor.c */ -