]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_opt.c
Merge commit '8114c101607843a86960bd3e0e9c40487dc2a961'
[ffmpeg] / ffmpeg_opt.c
index 1f4d89ef8959d755b25a7e620a1af87d4a7f2d5d..6ce965edeb8f2f90f9ec9fcf65e54c0e651d8bb3 100644 (file)
@@ -1203,7 +1203,7 @@ static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc, in
                 av_log(NULL, AV_LOG_FATAL, "Invalid aspect ratio: %s\n", frame_aspect_ratio);
                 exit(1);
             }
-            ost->frame_aspect_ratio = av_q2d(q);
+            ost->frame_aspect_ratio = q;
         }
 
         video_enc->bits_per_raw_sample = frame_bits_per_raw_sample;