mirror of https://github.com/FFmpeg/FFmpeg.git
The a53_cc option is only useful and meaningful for MPEG-2, yet it was accidentally added for all mpegvideo-based encoders. This means that it is possible for a53_cc to be set for other encoders as well. This commit changes this and reroutes a53_cc to the dummy field in MpegEncContext for all codecs for which it is not supported. This allows to avoid a check for the current codec in mpeg12enc.c. Also add a compile-time check for whether the MPEG-2 encoder is available while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/383/head
parent
7a2f728302
commit
ac49439e77
2 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue