aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-07-12 18:43:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-07-12 18:43:02 +0000
commit55823964dc41bb2d956ef3ca0592fa19ac841b55 (patch)
tree3d646a5d126c36df00d3a361007249685add3b6b /libavformat/utils.c
parent0bef08e5169fb3bd45346ff1b3328ce6df5262ab (diff)
downloadffmpeg-55823964dc41bb2d956ef3ca0592fa19ac841b55.tar.gz
indent
Originally committed as revision 14185 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 4faef19dee..eafeef9afa 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -553,28 +553,28 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
- av_init_packet(pkt);
- ret= s->iformat->read_packet(s, pkt);
- if (ret < 0)
- return ret;
- st= s->streams[pkt->stream_index];
+ av_init_packet(pkt);
+ ret= s->iformat->read_packet(s, pkt);
+ if (ret < 0)
+ return ret;
+ st= s->streams[pkt->stream_index];
if(!pktl && st->codec->codec_id!=CODEC_ID_PROBE)
return ret;
add_to_pktbuf(&s->raw_packet_buffer, pkt);
- switch(st->codec->codec_type){
- case CODEC_TYPE_VIDEO:
- if(s->video_codec_id) st->codec->codec_id= s->video_codec_id;
- break;
- case CODEC_TYPE_AUDIO:
- if(s->audio_codec_id) st->codec->codec_id= s->audio_codec_id;
- break;
- case CODEC_TYPE_SUBTITLE:
- if(s->subtitle_codec_id)st->codec->codec_id= s->subtitle_codec_id;
- break;
- }
+ switch(st->codec->codec_type){
+ case CODEC_TYPE_VIDEO:
+ if(s->video_codec_id) st->codec->codec_id= s->video_codec_id;
+ break;
+ case CODEC_TYPE_AUDIO:
+ if(s->audio_codec_id) st->codec->codec_id= s->audio_codec_id;
+ break;
+ case CODEC_TYPE_SUBTITLE:
+ if(s->subtitle_codec_id)st->codec->codec_id= s->subtitle_codec_id;
+ break;
+ }
if(st->codec->codec_id == CODEC_ID_PROBE){
AVProbeData *pd = &st->probe_data;