video->codec->width = 320;
video->codec->height = 192;
/* 4:3 320x200 with 8 empty lines */
- video->codec->sample_aspect_ratio = (AVRational) { 5, 6 };
+ video->sample_aspect_ratio = (AVRational) { 5, 6 };
video->time_base = (AVRational) { 2, 25 };
video->nb_frames = framecount;
video->duration = framecount;