Browse code

lavfi: remove stray semicolons.

Hopefully fix compilation with suncc.

Nicolas George authored on 2017/01/12 22:43:51
Showing 2 changed files
... ...
@@ -103,7 +103,7 @@ static av_cold int query_formats(AVFilterContext *ctx)
103 103
 static double white_filter(double white, double *buf)
104 104
 {
105 105
     return white;
106
-};
106
+}
107 107
 
108 108
 static double pink_filter(double white, double *buf)
109 109
 {
... ...
@@ -186,20 +186,20 @@ type av_buffersink_get_##field(const AVFilterContext *ctx) { \
186 186
     return ctx->inputs[0]->field; \
187 187
 }
188 188
 
189
-MAKE_AVFILTERLINK_ACCESSOR(enum AVMediaType , type               );
190
-MAKE_AVFILTERLINK_ACCESSOR(AVRational       , time_base          );
191
-MAKE_AVFILTERLINK_ACCESSOR(int              , format             );
189
+MAKE_AVFILTERLINK_ACCESSOR(enum AVMediaType , type               )
190
+MAKE_AVFILTERLINK_ACCESSOR(AVRational       , time_base          )
191
+MAKE_AVFILTERLINK_ACCESSOR(int              , format             )
192 192
 
193
-MAKE_AVFILTERLINK_ACCESSOR(AVRational       , frame_rate         );
194
-MAKE_AVFILTERLINK_ACCESSOR(int              , w                  );
195
-MAKE_AVFILTERLINK_ACCESSOR(int              , h                  );
196
-MAKE_AVFILTERLINK_ACCESSOR(AVRational       , sample_aspect_ratio);
193
+MAKE_AVFILTERLINK_ACCESSOR(AVRational       , frame_rate         )
194
+MAKE_AVFILTERLINK_ACCESSOR(int              , w                  )
195
+MAKE_AVFILTERLINK_ACCESSOR(int              , h                  )
196
+MAKE_AVFILTERLINK_ACCESSOR(AVRational       , sample_aspect_ratio)
197 197
 
198
-MAKE_AVFILTERLINK_ACCESSOR(int              , channels           );
199
-MAKE_AVFILTERLINK_ACCESSOR(uint64_t         , channel_layout     );
200
-MAKE_AVFILTERLINK_ACCESSOR(int              , sample_rate        );
198
+MAKE_AVFILTERLINK_ACCESSOR(int              , channels           )
199
+MAKE_AVFILTERLINK_ACCESSOR(uint64_t         , channel_layout     )
200
+MAKE_AVFILTERLINK_ACCESSOR(int              , sample_rate        )
201 201
 
202
-MAKE_AVFILTERLINK_ACCESSOR(AVBufferRef *    , hw_frames_ctx      );
202
+MAKE_AVFILTERLINK_ACCESSOR(AVBufferRef *    , hw_frames_ctx      )
203 203
 
204 204
 static av_cold int vsink_init(AVFilterContext *ctx, void *opaque)
205 205
 {