mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'be1e1373d267bae2af8a62d79eef736736f24565'
* commit 'be1e1373d267bae2af8a62d79eef736736f24565':
flvenc: Support muxing VP6A as well
Conflicts:
libavformat/flvenc.c
See: 42ae83c196
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c2555bcbd1
|
@ -459,8 +459,8 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
uint8_t *data = NULL;
|
uint8_t *data = NULL;
|
||||||
int flags = -1, flags_size, ret;
|
int flags = -1, flags_size, ret;
|
||||||
|
|
||||||
if (enc->codec_id == AV_CODEC_ID_VP6F ||
|
if (enc->codec_id == AV_CODEC_ID_VP6F || enc->codec_id == AV_CODEC_ID_VP6A ||
|
||||||
enc->codec_id == AV_CODEC_ID_VP6A || enc->codec_id == AV_CODEC_ID_AAC)
|
enc->codec_id == AV_CODEC_ID_AAC)
|
||||||
flags_size = 2;
|
flags_size = 2;
|
||||||
else if (enc->codec_id == AV_CODEC_ID_H264 || enc->codec_id == AV_CODEC_ID_MPEG4)
|
else if (enc->codec_id == AV_CODEC_ID_H264 || enc->codec_id == AV_CODEC_ID_MPEG4)
|
||||||
flags_size = 5;
|
flags_size = 5;
|
||||||
|
|
Loading…
Reference in New Issue