mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 19:40:07 +01:00
Fix a bunch of common typos.
This commit is contained in:
@@ -770,7 +770,7 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
memset(pd->buf+pd->buf_size, 0, AVPROBE_PADDING_SIZE);
|
||||
|
||||
if(av_log2(pd->buf_size) != av_log2(pd->buf_size - pkt->size)){
|
||||
//FIXME we dont reduce score to 0 for the case of running out of buffer space in bytes
|
||||
//FIXME we do not reduce score to 0 for the case of running out of buffer space in bytes
|
||||
set_codec_from_probe_data(s, st, pd, st->probe_packets > 0 ? AVPROBE_SCORE_MAX/4 : 0);
|
||||
if(st->codec->codec_id != CODEC_ID_PROBE){
|
||||
pd->buf_size=0;
|
||||
@@ -1081,7 +1081,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
||||
FFSWAP(int64_t, st->pts_buffer[i], st->pts_buffer[i+1]);
|
||||
if(pkt->dts == AV_NOPTS_VALUE)
|
||||
pkt->dts= st->pts_buffer[0];
|
||||
if(st->codec->codec_id == CODEC_ID_H264){ //we skiped it above so we try here
|
||||
if(st->codec->codec_id == CODEC_ID_H264){ // we skipped it above so we try here
|
||||
update_initial_timestamps(s, pkt->stream_index, pkt->dts, pkt->pts); // this should happen on the first packet
|
||||
}
|
||||
if(pkt->dts > st->cur_dts)
|
||||
|
||||
Reference in New Issue
Block a user