diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-25 18:01:14 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:42:59 -0300 |
commit | 26ca5ebd7b5eb3d35562c2766755d765fdee0eef (patch) | |
tree | ede0c76891067e4edbd0a8ac1ee472c507c79fb6 /libavcodec/flacenc.c | |
parent | 0f247986ad51d693d69728b8889d8f105ede9e05 (diff) | |
download | ffmpeg-26ca5ebd7b5eb3d35562c2766755d765fdee0eef.tar.gz |
avcodec: Remove sidedata-only-packet cruft
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 05a85d830f..38571ec9c9 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1370,13 +1370,7 @@ static int flac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, av_md5_final(s->md5ctx, s->md5sum); write_streaminfo(s, avctx->extradata); -#if FF_API_SIDEDATA_ONLY_PKT -FF_DISABLE_DEPRECATION_WARNINGS - if (avctx->side_data_only_packets && !s->flushed) { -FF_ENABLE_DEPRECATION_WARNINGS -#else if (!s->flushed) { -#endif uint8_t *side_data = av_packet_new_side_data(avpkt, AV_PKT_DATA_NEW_EXTRADATA, avctx->extradata_size); if (!side_data) |