Revision 3a459ebe libavformat/nuv.c

View differences:

libavformat/nuv.c
156 156
        vst->codec->width = width;
157 157
        vst->codec->height = height;
158 158
        vst->codec->bits_per_sample = 10;
159
        vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000);
159
        vst->codec->sample_aspect_ratio = av_d2q(aspect * height / width, 10000);
160 160
        vst->r_frame_rate = av_d2q(fps, 60000);
161 161
        av_set_pts_info(vst, 32, 1, 1000);
162 162
    } else

Also available in: Unified diff