changeset 3523:2f27f367900e libavformat

indent
author michael
date Thu, 26 Jun 2008 23:06:10 +0000
parents dfb9739dd2dc
children 06579d9dbc72
files psxstr.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/psxstr.c	Thu Jun 26 23:05:21 2008 +0000
+++ b/psxstr.c	Thu Jun 26 23:06:10 2008 +0000
@@ -220,14 +220,14 @@
 
                 av_set_pts_info(st, 64, 128, st->codec->sample_rate);
             }
-                pkt = ret_pkt;
-                if (av_new_packet(pkt, 2304))
-                    return AVERROR(EIO);
-                memcpy(pkt->data,sector+24,2304);
+            pkt = ret_pkt;
+            if (av_new_packet(pkt, 2304))
+                return AVERROR(EIO);
+            memcpy(pkt->data,sector+24,2304);
 
-                pkt->stream_index =
-                    str->channels[channel].audio_stream_index;
-                return 0;
+            pkt->stream_index =
+                str->channels[channel].audio_stream_index;
+            return 0;
             break;
         default:
             av_log(s, AV_LOG_WARNING, "Unknown sector type %02X\n", sector[0x12]);