aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-15 20:58:34 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-15 20:58:34 +0200
commitae35eccea287974e2e157c0b5d2109463ae63db8 (patch)
treeb15a496508025247800890c6b77f0ce759812328
parent4eec0dd297264a6dfadd8ae8a1b89438a54d5648 (diff)
downloadlibextractor-ae35eccea287974e2e157c0b5d2109463ae63db8.tar.gz
libextractor-ae35eccea287974e2e157c0b5d2109463ae63db8.zip
remove useless assignment
-rw-r--r--src/plugins/ogg_extractor.c8
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 */
78static int 78static int
79seek_ogg (void *datasource, 79seek_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 */
97static long 97static long
98tell_ogg (void *datasource) 98tell_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 */
116static char * 116static char *
117get_comment (vorbis_comment *vc, 117get_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