[FFmpeg-cvslog] r16527 - trunk/libavformat/flvenc.c
bcoudurier
subversion
Sun Jan 11 06:23:46 CET 2009
Author: bcoudurier
Date: Sun Jan 11 06:23:46 2009
New Revision: 16527
Log:
reindent
Modified:
trunk/libavformat/flvenc.c
Modified: trunk/libavformat/flvenc.c
==============================================================================
--- trunk/libavformat/flvenc.c Sun Jan 11 06:23:10 2009 (r16526)
+++ trunk/libavformat/flvenc.c Sun Jan 11 06:23:46 2009 (r16527)
@@ -343,10 +343,10 @@ static int flv_write_packet(AVFormatCont
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)
More information about the ffmpeg-cvslog
mailing list