[FFmpeg-cvslog] r14005 - trunk/libavformat/psxstr.c

michael subversion
Fri Jun 27 01:06:10 CEST 2008


Author: michael
Date: Fri Jun 27 01:06:10 2008
New Revision: 14005

Log:
indent


Modified:
   trunk/libavformat/psxstr.c

Modified: trunk/libavformat/psxstr.c
==============================================================================
--- trunk/libavformat/psxstr.c	(original)
+++ trunk/libavformat/psxstr.c	Fri Jun 27 01:06:10 2008
@@ -220,14 +220,14 @@ static int str_read_packet(AVFormatConte
 
                 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]);




More information about the ffmpeg-cvslog mailing list