[FFmpeg-devel] Request for comment: Tutorial

mark cox markcox
Sun May 27 10:23:18 CEST 2007


The saveFrame function in tutorial one differs from the .c file.

HTML
// Write pixel data
for(y=0; ydata[0]+y*pFrame->linesize[0], 1, width*3, pFile);

.C
// Write pixel data
  for(y=0; y<height; y++)
    fwrite(pFrame->data[0]+y*pFrame->linesize[0], 1, width*3, pFile);

Regards,
mark




More information about the ffmpeg-devel mailing list