mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
mov: fix assigment check
CC: libav-stable@libav.org Bug-Id: CID 1197050
This commit is contained in:
parent
7df3b426bb
commit
50dbe6b354
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user