diff options
Diffstat (limited to 'examples/vp9_lossless_encoder.c')
-rw-r--r-- | examples/vp9_lossless_encoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/vp9_lossless_encoder.c b/examples/vp9_lossless_encoder.c index 5802186bf..cb5ca6bfe 100644 --- a/examples/vp9_lossless_encoder.c +++ b/examples/vp9_lossless_encoder.c @@ -78,8 +78,8 @@ int main(int argc, char **argv) { if (!encoder) die("Unsupported codec."); info.codec_fourcc = encoder->fourcc; - info.frame_width = strtol(argv[1], NULL, 0); - info.frame_height = strtol(argv[2], NULL, 0); + info.frame_width = (int)strtol(argv[1], NULL, 0); + info.frame_height = (int)strtol(argv[2], NULL, 0); info.time_base.numerator = 1; info.time_base.denominator = fps; |