diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 52cb282..d874df9 100644
|
a
|
b
|
static int mxf_write_header(AVFormatContext *s)
|
| 1715 | 1715 | } else if (st->codec->bit_rate == 40000000) { |
| 1716 | 1716 | if (mxf->time_base.den == 25) sc->index = 7; |
| 1717 | 1717 | else sc->index = 9; |
| 1718 | | } else if (st->codec->bit_rate == 30000000) { |
| | 1718 | } else if (st->codec->bit_rate == 30000000 || |
| | 1719 | st->codec->rc_max_rate == 30000000) { |
| 1719 | 1720 | if (mxf->time_base.den == 25) sc->index = 11; |
| 1720 | 1721 | else sc->index = 13; |
| 1721 | 1722 | } else { |