Necessary after 04a530f.
Nicolas George authored on 2013/01/02 01:25:04... | ... |
@@ -517,8 +517,8 @@ static int sub2video_prepare(InputStream *ist) |
517 | 517 |
} |
518 | 518 |
av_log(avf, AV_LOG_INFO, "sub2video: using %dx%d canvas\n", w, h); |
519 | 519 |
} |
520 |
- ist->sub2video.w = ist->st->codec->width = w; |
|
521 |
- ist->sub2video.h = ist->st->codec->height = h; |
|
520 |
+ ist->sub2video.w = ist->st->codec->width = ist->resample_width = w; |
|
521 |
+ ist->sub2video.h = ist->st->codec->height = ist->resample_height = h; |
|
522 | 522 |
|
523 | 523 |
/* rectangles are AV_PIX_FMT_PAL8, but we have no guarantee that the |
524 | 524 |
palettes for all rectangles are identical or compatible */ |