summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-03-16 05:18:59 +0100
committerwm4 <nfxjfg@googlemail.com>2017-03-21 06:16:49 +0100
commit87c082c42602924cf1ef98880df99044416c9329 (patch)
tree1cb6aeb82c289297c2c27989d454344c2ebc5751 /ffmpeg.c
parentd682ae70b4b3a53fb73ec30281f9f4cfbc531edd (diff)
ffmpeg: don't unnecessarily use a deprecated API function
Since we've disabled side data merging in ffmpeg.c, this really changes nothing.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index dbfb14bfca..dcb7720241 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -818,7 +818,6 @@ static void output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
if (ost->nb_bitstream_filters) {
int idx;
- av_packet_split_side_data(pkt);
ret = av_bsf_send_packet(ost->bsf_ctx[0], pkt);
if (ret < 0)
goto finish;
@@ -4247,8 +4246,6 @@ static int process_input(int file_index)
/* add the stream-global side data to the first packet */
if (ist->nb_packets == 1) {
- if (ist->st->nb_side_data)
- av_packet_split_side_data(&pkt);
for (i = 0; i < ist->st->nb_side_data; i++) {
AVPacketSideData *src_sd = &ist->st->side_data[i];
uint8_t *dst_data;