cosmetics: indentation
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 24 Jan 2012 16:41:37 +0000 (11:41 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 24 Jan 2012 19:13:46 +0000 (14:13 -0500)
libavformat/westwood_aud.c

index 652045f..21d16f7 100644 (file)
@@ -169,14 +169,14 @@ static int wsaud_read_packet(AVFormatContext *s,
 
         pkt->duration = out_size;
     } else {
-    ret= av_get_packet(pb, pkt, chunk_size);
-    if (ret != chunk_size)
-        return AVERROR(EIO);
-    pkt->pts = wsaud->audio_frame_counter;
-    pkt->pts /= wsaud->audio_samplerate;
-
-    /* 2 samples/byte, 1 or 2 samples per frame depending on stereo */
-    wsaud->audio_frame_counter += (chunk_size * 2) / wsaud->audio_channels;
+        ret = av_get_packet(pb, pkt, chunk_size);
+        if (ret != chunk_size)
+            return AVERROR(EIO);
+        pkt->pts = wsaud->audio_frame_counter;
+        pkt->pts /= wsaud->audio_samplerate;
+
+        /* 2 samples/byte, 1 or 2 samples per frame depending on stereo */
+        wsaud->audio_frame_counter += (chunk_size * 2) / wsaud->audio_channels;
     }
     pkt->stream_index = st->index;