提交 50dbe6b3 编写于 作者: V Vittorio Giovara

mov: fix assigment check

CC: libav-stable@libav.org
Bug-Id: CID 1197050
上级 7df3b426
......@@ -3192,7 +3192,7 @@ static int mov_read_header(AVFormatContext *s)
MOVStreamContext *sc = st->priv_data;
if (st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) {
if (st->codec->width <= 0 && st->codec->width <= 0) {
if (st->codec->width <= 0 || st->codec->height <= 0) {
st->codec->width = sc->width;
st->codec->height = sc->height;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册