mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 13:02:13 +00:00
Cosmetics: whitespace
Originally committed as revision 24093 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ce2e4ae35a
commit
cfde3a7e13
@ -77,7 +77,7 @@ static int adts_write_header(AVFormatContext *s)
|
|||||||
ADTSContext *adts = s->priv_data;
|
ADTSContext *adts = s->priv_data;
|
||||||
AVCodecContext *avc = s->streams[0]->codec;
|
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)
|
ff_adts_decode_extradata(s, adts, avc->extradata, avc->extradata_size) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
@ -123,10 +123,10 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
if (!pkt->size)
|
if (!pkt->size)
|
||||||
return 0;
|
return 0;
|
||||||
if(adts->write_adts) {
|
if (adts->write_adts) {
|
||||||
ff_adts_write_frame_header(adts, buf, pkt->size, adts->pce_size);
|
ff_adts_write_frame_header(adts, buf, pkt->size, adts->pce_size);
|
||||||
put_buffer(pb, buf, ADTS_HEADER_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);
|
put_buffer(pb, adts->pce_data, adts->pce_size);
|
||||||
adts->pce_size = 0;
|
adts->pce_size = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user