OSDN Git Service

doc/examples/filtering_audio: fix style
authorStefano Sabatini <stefasab@gmail.com>
Mon, 2 Dec 2013 13:43:40 +0000 (14:43 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 2 Dec 2013 14:08:00 +0000 (15:08 +0100)
doc/examples/filtering_audio.c

index 2f78e59..0be2654 100644 (file)
@@ -243,9 +243,9 @@ int main(int argc, char **argv)
                 /* pull filtered audio from the filtergraph */
                 while (1) {
                     ret = av_buffersink_get_frame(buffersink_ctx, filt_frame);
-                    if(ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
+                    if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
                         break;
-                    if(ret < 0)
+                    if (ret < 0)
                         goto end;
                     print_frame(filt_frame);
                     av_frame_unref(filt_frame);