Mercurial > libavformat.hg
changeset 4190:4aa129f6efc0 libavformat
reindent
author | bcoudurier |
---|---|
date | Sun, 11 Jan 2009 05:23:46 +0000 |
parents | b545084af4b9 |
children | 2826c1bf5ea7 |
files | flvenc.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/flvenc.c Sun Jan 11 05:23:10 2009 +0000 +++ b/flvenc.c Sun Jan 11 05:23:46 2009 +0000 @@ -343,10 +343,10 @@ 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)