aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/adtsenc.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-07-07 20:03:15 +0000
committerAlex Converse <alex.converse@gmail.com>2010-07-07 20:03:15 +0000
commitcfde3a7e13ed694feb67e570567a28cee783eb57 (patch)
tree01a5e41cf399e4742d85bf272efb7aae103c8c07 /libavformat/adtsenc.c
parentce2e4ae35aba69f982676996743bfcc5ea75ae51 (diff)
downloadffmpeg-cfde3a7e13ed694feb67e570567a28cee783eb57.tar.gz
Cosmetics: whitespace
Originally committed as revision 24093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/adtsenc.c')
-rw-r--r--libavformat/adtsenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
index bab9c145c2..232d322708 100644
--- a/libavformat/adtsenc.c
+++ b/libavformat/adtsenc.c
@@ -77,7 +77,7 @@ static int adts_write_header(AVFormatContext *s)
ADTSContext *adts = s->priv_data;
AVCodecContext *avc = s->streams[0]->codec;
- if(avc->extradata_size > 0 &&
+ if (avc->extradata_size > 0 &&
ff_adts_decode_extradata(s, adts, avc->extradata, avc->extradata_size) < 0)
return -1;
@@ -123,10 +123,10 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
if (!pkt->size)
return 0;
- if(adts->write_adts) {
+ if (adts->write_adts) {
ff_adts_write_frame_header(adts, buf, pkt->size, adts->pce_size);
put_buffer(pb, buf, ADTS_HEADER_SIZE);
- if(adts->pce_size) {
+ if (adts->pce_size) {
put_buffer(pb, adts->pce_data, adts->pce_size);
adts->pce_size = 0;
}