av_common: remove deprecated API usage

As the removed comment says, not copying this field may cause problems
on older libav* releases. See also commit 5f7de399.

Remove this, as newer FFmpeg releases are available. As of this commit,
use of mpv with FFmpeg 2.5.x and below, or Libav 11 and below is not
recommended, and may lead to random video decoding issues. (Although the
failure cases are apparently somewhat obscure.)
This commit is contained in:
wm4 2015-08-07 15:45:27 +02:00
parent dd5c87e1d7
commit 62aba69e15
1 changed files with 0 additions and 2 deletions

View File

@ -66,8 +66,6 @@ void mp_copy_lav_codec_headers(AVCodecContext *avctx, AVCodecContext *st)
avctx->block_align = st->block_align;
avctx->channel_layout = st->channel_layout;
avctx->bits_per_coded_sample = st->bits_per_coded_sample;
// Required in FFmpeg 2.5.x / Libav 11, deprecated afterwards.
avctx->stream_codec_tag = st->stream_codec_tag;
}
// We merely pass-through our PTS/DTS as an int64_t; libavcodec won't use it.