lavf/mpeg: fix indent
Signed-off-by: Xiaofeng Wang <xiaofeng.wang@bqvision.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
9326117bf6
commit
821791caa0
@@ -525,34 +525,34 @@ redo:
|
|||||||
}
|
}
|
||||||
|
|
||||||
es_type = m->psm_es_type[startcode & 0xff];
|
es_type = m->psm_es_type[startcode & 0xff];
|
||||||
if (es_type == STREAM_TYPE_VIDEO_MPEG1) {
|
if (es_type == STREAM_TYPE_VIDEO_MPEG1) {
|
||||||
codec_id = AV_CODEC_ID_MPEG2VIDEO;
|
codec_id = AV_CODEC_ID_MPEG2VIDEO;
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
} else if (es_type == STREAM_TYPE_VIDEO_MPEG2) {
|
} else if (es_type == STREAM_TYPE_VIDEO_MPEG2) {
|
||||||
codec_id = AV_CODEC_ID_MPEG2VIDEO;
|
codec_id = AV_CODEC_ID_MPEG2VIDEO;
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
} else if (es_type == STREAM_TYPE_AUDIO_MPEG1 ||
|
} else if (es_type == STREAM_TYPE_AUDIO_MPEG1 ||
|
||||||
es_type == STREAM_TYPE_AUDIO_MPEG2) {
|
es_type == STREAM_TYPE_AUDIO_MPEG2) {
|
||||||
codec_id = AV_CODEC_ID_MP3;
|
codec_id = AV_CODEC_ID_MP3;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
} else if (es_type == STREAM_TYPE_AUDIO_AAC) {
|
} else if (es_type == STREAM_TYPE_AUDIO_AAC) {
|
||||||
codec_id = AV_CODEC_ID_AAC;
|
codec_id = AV_CODEC_ID_AAC;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
} else if (es_type == STREAM_TYPE_VIDEO_MPEG4) {
|
} else if (es_type == STREAM_TYPE_VIDEO_MPEG4) {
|
||||||
codec_id = AV_CODEC_ID_MPEG4;
|
codec_id = AV_CODEC_ID_MPEG4;
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
} else if (es_type == STREAM_TYPE_VIDEO_H264) {
|
} else if (es_type == STREAM_TYPE_VIDEO_H264) {
|
||||||
codec_id = AV_CODEC_ID_H264;
|
codec_id = AV_CODEC_ID_H264;
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
} else if (es_type == STREAM_TYPE_VIDEO_HEVC) {
|
} else if (es_type == STREAM_TYPE_VIDEO_HEVC) {
|
||||||
codec_id = AV_CODEC_ID_HEVC;
|
codec_id = AV_CODEC_ID_HEVC;
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
} else if (es_type == STREAM_TYPE_AUDIO_AC3) {
|
} else if (es_type == STREAM_TYPE_AUDIO_AC3) {
|
||||||
codec_id = AV_CODEC_ID_AC3;
|
codec_id = AV_CODEC_ID_AC3;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
} else if (m->imkh_cctv && es_type == 0x91) {
|
} else if (m->imkh_cctv && es_type == 0x91) {
|
||||||
codec_id = AV_CODEC_ID_PCM_MULAW;
|
codec_id = AV_CODEC_ID_PCM_MULAW;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
} else if (startcode >= 0x1e0 && startcode <= 0x1ef) {
|
} else if (startcode >= 0x1e0 && startcode <= 0x1ef) {
|
||||||
static const unsigned char avs_seqh[4] = { 0, 0, 1, 0xb0 };
|
static const unsigned char avs_seqh[4] = { 0, 0, 1, 0xb0 };
|
||||||
unsigned char buf[8];
|
unsigned char buf[8];
|
||||||
|
|||||||
Reference in New Issue
Block a user