mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 11:14:44 +00:00
reindent
Originally committed as revision 16527 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7d637efa80
commit
2ba0470e81
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user