ffmpeg: don't unnecessarily use a deprecated API function

Since we've disabled side data merging in ffmpeg.c, this really changes
nothing.
pull/244/merge
wm4 8 years ago
parent d682ae70b4
commit 87c082c426
  1. 3
      ffmpeg.c

@ -818,7 +818,6 @@ static void output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
if (ost->nb_bitstream_filters) { if (ost->nb_bitstream_filters) {
int idx; int idx;
av_packet_split_side_data(pkt);
ret = av_bsf_send_packet(ost->bsf_ctx[0], pkt); ret = av_bsf_send_packet(ost->bsf_ctx[0], pkt);
if (ret < 0) if (ret < 0)
goto finish; goto finish;
@ -4247,8 +4246,6 @@ static int process_input(int file_index)
/* add the stream-global side data to the first packet */ /* add the stream-global side data to the first packet */
if (ist->nb_packets == 1) { 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++) { for (i = 0; i < ist->st->nb_side_data; i++) {
AVPacketSideData *src_sd = &ist->st->side_data[i]; AVPacketSideData *src_sd = &ist->st->side_data[i];
uint8_t *dst_data; uint8_t *dst_data;

Loading…
Cancel
Save