[FFmpeg-devel] [PATCH] Split libavcodec/utils.c:{AbvEntry, frame_abvs} into VideoFrame{Size, Rate}Abbr and video_frame_{rate, size}_abbrs

Stefano Sabatini stefano.sabatini-lala
Wed Jun 20 11:56:56 CEST 2007

Hi to all,

this patch does: 

* splits struct libavcodec/utils.c:AbvEntry into

* splits the array libavcodec/utils.c:frame_abvs into

* changes libavcodec/utils.c:av_parse_video_frame_{rate,size} accordingly.

This patch fixes the bug raised by the command:
ffmpeg -i input -r qcif output

(ffmpeg doesn't complain about the invalid rate abbreviation, then
sets the video frame rate to {0,0}).

With the patch applied ffmpeg complains about the incorrect frame
rate and quits.

Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split-frame-abvs-00.patch
Type: text/x-diff
Size: 5387 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070620/b90e5161/attachment.patch>

More information about the ffmpeg-devel mailing list