mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics: indentation
Originally committed as revision 9218 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eabb8ba445
commit
77abe5e858
@ -2426,24 +2426,24 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
|
|||||||
matroska_queue_packet(matroska, pkt);
|
matroska_queue_packet(matroska, pkt);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pkt = av_mallocz(sizeof(AVPacket));
|
pkt = av_mallocz(sizeof(AVPacket));
|
||||||
/* XXX: prevent data copy... */
|
/* XXX: prevent data copy... */
|
||||||
if (av_new_packet(pkt, slice_size) < 0) {
|
if (av_new_packet(pkt, slice_size) < 0) {
|
||||||
res = AVERROR_NOMEM;
|
res = AVERROR_NOMEM;
|
||||||
n = laces-1;
|
n = laces-1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
memcpy (pkt->data, data+slice_offset, slice_size);
|
memcpy (pkt->data, data+slice_offset, slice_size);
|
||||||
|
|
||||||
if (n == 0)
|
if (n == 0)
|
||||||
pkt->flags = is_keyframe;
|
pkt->flags = is_keyframe;
|
||||||
pkt->stream_index = matroska->tracks[track]->stream_index;
|
pkt->stream_index = matroska->tracks[track]->stream_index;
|
||||||
|
|
||||||
pkt->pts = timecode;
|
pkt->pts = timecode;
|
||||||
pkt->pos = pos;
|
pkt->pos = pos;
|
||||||
pkt->duration = duration;
|
pkt->duration = duration;
|
||||||
|
|
||||||
matroska_queue_packet(matroska, pkt);
|
matroska_queue_packet(matroska, pkt);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (timecode != AV_NOPTS_VALUE)
|
if (timecode != AV_NOPTS_VALUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user