Indentation cleanup

Originally committed as revision 21624 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Peter Ross 15 years ago
parent 02c4f626a8
commit 451b353d87
  1. 6
      libavformat/iff.c

@ -256,14 +256,14 @@ static int iff_read_packet(AVFormatContext *s,
pkt->flags |= PKT_FLAG_KEY; pkt->flags |= PKT_FLAG_KEY;
if(s->streams[0]->codec->codec_type == CODEC_TYPE_AUDIO) { if(s->streams[0]->codec->codec_type == CODEC_TYPE_AUDIO) {
iff->sent_bytes += PACKET_SIZE; iff->sent_bytes += PACKET_SIZE;
} else { } else {
iff->sent_bytes = iff->body_size; iff->sent_bytes = iff->body_size;
} }
pkt->stream_index = 0; pkt->stream_index = 0;
if(s->streams[0]->codec->codec_type == CODEC_TYPE_AUDIO) { if(s->streams[0]->codec->codec_type == CODEC_TYPE_AUDIO) {
pkt->pts = iff->audio_frame_count; pkt->pts = iff->audio_frame_count;
iff->audio_frame_count += ret / s->streams[0]->codec->channels; iff->audio_frame_count += ret / s->streams[0]->codec->channels;
} }
return ret; return ret;
} }

Loading…
Cancel
Save