[FFmpeg-devel] Fwd: framebuffer device demuxer

Måns Rullgård mans
Thu Jan 27 00:19:58 CET 2011


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

>> +    fb->data = mmap(NULL, fb_fixinfo.line_length * fb_varinfo.yres,
>> +                    PROT_READ, MAP_SHARED, fb->fd, 0);
>> +    if (!fb->data) {
>
> Autofix:
> if ((int)fb->data == -1)

if (fb->data == MAP_FAILED)

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list