diff options
Diffstat (limited to 'src/plugins/ogg_extractor.c')
-rw-r--r-- | src/plugins/ogg_extractor.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/ogg_extractor.c b/src/plugins/ogg_extractor.c index 6b7db49..d7005ef 100644 --- 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) | |||
75 | * @param whence how to seek | 75 | * @param whence how to seek |
76 | * @return -1 on error, new position on success | 76 | * @return -1 on error, new position on success |
77 | */ | 77 | */ |
78 | static int | 78 | static int |
79 | seek_ogg (void *datasource, | 79 | seek_ogg (void *datasource, |
80 | ogg_int64_t offset, | 80 | ogg_int64_t offset, |
81 | int whence) | 81 | int whence) |
@@ -92,7 +92,7 @@ seek_ogg (void *datasource, | |||
92 | * Tell ogg where we are in the file | 92 | * Tell ogg where we are in the file |
93 | * | 93 | * |
94 | * @param datasource the 'struct EXTRACTOR_ExtractContext' | 94 | * @param datasource the 'struct EXTRACTOR_ExtractContext' |
95 | * @return | 95 | * @return |
96 | */ | 96 | */ |
97 | static long | 97 | static long |
98 | tell_ogg (void *datasource) | 98 | tell_ogg (void *datasource) |
@@ -114,7 +114,7 @@ tell_ogg (void *datasource) | |||
114 | * @return NULL on error, otherwise the meta data | 114 | * @return NULL on error, otherwise the meta data |
115 | */ | 115 | */ |
116 | static char * | 116 | static char * |
117 | get_comment (vorbis_comment *vc, | 117 | get_comment (vorbis_comment *vc, |
118 | const char *label) | 118 | const char *label) |
119 | { | 119 | { |
120 | if (NULL == vc) | 120 | if (NULL == vc) |
@@ -176,7 +176,6 @@ EXTRACTOR_ogg_extract_method (struct EXTRACTOR_ExtractContext *ec) | |||
176 | ov_clear (&vf); | 176 | ov_clear (&vf); |
177 | return; | 177 | return; |
178 | } | 178 | } |
179 | ret = 0; | ||
180 | ADD (EXTRACTOR_METATYPE_MIMETYPE, "application/ogg"); | 179 | ADD (EXTRACTOR_METATYPE_MIMETYPE, "application/ogg"); |
181 | if ((comments->vendor != NULL) && (strlen (comments->vendor) > 0)) | 180 | if ((comments->vendor != NULL) && (strlen (comments->vendor) > 0)) |
182 | ADD (EXTRACTOR_METATYPE_VENDOR, comments->vendor); | 181 | ADD (EXTRACTOR_METATYPE_VENDOR, comments->vendor); |
@@ -202,4 +201,3 @@ FINISH: | |||
202 | } | 201 | } |
203 | 202 | ||
204 | /* end of ogg_extractor.c */ | 203 | /* end of ogg_extractor.c */ |
205 | |||