diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-11 05:23:46 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-11 05:23:46 +0000 |
commit | 2ba0470e819ed4022f260d41e018f7754565db7a (patch) | |
tree | 2e2c21784da87137c0a2ff81d22127a61dfaa90f /libavformat/flvenc.c | |
parent | 7d637efa80337f0e5e95e2137ccf7da8e75ad047 (diff) | |
download | ffmpeg-2ba0470e819ed4022f260d41e018f7754565db7a.tar.gz |
reindent
Originally committed as revision 16527 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r-- | libavformat/flvenc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index b3cce3ab20..89a827f043 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -343,10 +343,10 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) if (enc->codec_id == CODEC_ID_H264) { /* check if extradata looks like mp4 formated */ if (enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1) { - if (ff_avc_parse_nal_units(pkt->data, &pkt->data, &pkt->size) < 0) - return -1; - assert(pkt->size); - size = pkt->size; + if (ff_avc_parse_nal_units(pkt->data, &pkt->data, &pkt->size) < 0) + return -1; + assert(pkt->size); + size = pkt->size; } /* cast needed to get negative value */ if (!flv->delay && pkt->dts < 0) |