2018-10-29 15:49 GMT+01:00, jos...@ob-encoder.com <jos...@ob-encoder.com>:

>      while(1) {
>          uint16_t size = 0;
> -        ssize_t ret = fread(&size, 1, sizeof(uint16_t), fd);
> -        if (ret < 0) {
> -            perror("Couldn't read size");
> -            exit(1);
> -        } else if (ret != sizeof(uint16_t))
> +        size_t ret = fread(&size, 1, sizeof(uint16_t), file);
> +        if (ret != sizeof(uint16_t))

I didn't see this originally because it is a little to well hidden.

Please split this out and mention ticket #7521.

Thank you, Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to