[FFmpeg-devel] [PATCH] avformat/nutdec: fix obvious typo
mypopy at gmail.com
mypopy at gmail.com
Fri Dec 14 02:54:48 EET 2018
On Fri, Dec 14, 2018 at 6:18 AM Paul B Mahol <onemda at gmail.com> wrote:
>
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> libavformat/nutdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
> index 27440c88d4..9910ffe936 100644
> --- a/libavformat/nutdec.c
> +++ b/libavformat/nutdec.c
> @@ -582,7 +582,7 @@ static int decode_info_header(NUTContext *nut)
> if (stream_id_plus1 && !strcmp(name, "r_frame_rate")) {
> sscanf(str_value, "%d/%d", &st->r_frame_rate.num, &st->r_frame_rate.den);
> if (st->r_frame_rate.num >= 1000LL*st->r_frame_rate.den ||
> - st->r_frame_rate.num < 0 || st->r_frame_rate.num < 0)
> + st->r_frame_rate.num < 0 || st->r_frame_rate.den < 0)
> st->r_frame_rate.num = st->r_frame_rate.den = 0;
> continue;
> }
> --
> 2.17.1
>
LGTM
More information about the ffmpeg-devel
mailing list