Revision 66061a12 libavformat/matroskaenc.c

View differences:

libavformat/matroskaenc.c
470 470
        if (codec->codec_id == CODEC_ID_VORBIS || codec->codec_id == CODEC_ID_THEORA)
471 471
            ret = put_xiph_codecpriv(s, dyn_cp, codec);
472 472
        else if (codec->codec_id == CODEC_ID_FLAC)
473
            ret = ff_flac_write_header(dyn_cp, codec);
473
            ret = ff_flac_write_header(dyn_cp, codec, 1);
474 474
        else if (codec->codec_id == CODEC_ID_H264)
475 475
            ret = ff_isom_write_avcc(dyn_cp, codec->extradata, codec->extradata_size);
476 476
        else if (codec->extradata_size)

Also available in: Unified diff