mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-02 20:35:37 +02:00
avformat/matroskaenc: don't try to update flac extradata if live streaming
This commit is contained in:
parent
d14a1bd8e4
commit
a8b5f37501
@ -2223,7 +2223,7 @@ static int mkv_check_new_extra_data(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
switch (par->codec_id) {
|
switch (par->codec_id) {
|
||||||
case AV_CODEC_ID_FLAC:
|
case AV_CODEC_ID_FLAC:
|
||||||
if (side_data_size && (s->pb->seekable & AVIO_SEEKABLE_NORMAL)) {
|
if (side_data_size && (s->pb->seekable & AVIO_SEEKABLE_NORMAL) && !mkv->is_live) {
|
||||||
AVCodecParameters *codecpriv_par;
|
AVCodecParameters *codecpriv_par;
|
||||||
int64_t curpos;
|
int64_t curpos;
|
||||||
if (side_data_size != par->extradata_size) {
|
if (side_data_size != par->extradata_size) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user