Browse Source

mov: fix assigment check

CC: libav-stable@libav.org
Bug-Id: CID 1197050
tags/n2.4.7
Vittorio Giovara 11 years ago
parent
commit
26ba78adac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c View File

@@ -3092,7 +3092,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…
Cancel
Save