Browse Source

avcodec/utils: Do not merge side data for encoders

With side data now being added to every MPEG*/H26* video encoder
in the form of a quality scalar, software which simply stores
the pkt->data to get an ES stream would break.
This also as a side-effect makes the code faster

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
809780ca42
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/utils.c

+ 0
- 2
libavcodec/utils.c View File

@@ -2213,8 +2213,6 @@ FF_ENABLE_DEPRECATION_WARNINGS

if (ret < 0 || !*got_packet_ptr)
av_free_packet(avpkt);
else
av_packet_merge_side_data(avpkt);

emms_c();
return ret;


Loading…
Cancel
Save