OSDN Git Service

lavu/opt: apply range checks also when setting format string value
authorStefano Sabatini <stefasab@gmail.com>
Mon, 16 Dec 2013 14:02:56 +0000 (15:02 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 26 Dec 2013 10:35:27 +0000 (11:35 +0100)
commit55f046be1193142536198957d1701d18881d3b7a
tree03ad2834b487613c5dfe419247d2b8c4646637ac
parent1575a96b3af5f5a769b043ff2342b6d17f954498
lavu/opt: apply range checks also when setting format string value

Previously when setting a pixel/sample format as a string range checks
were not performed. This is consistent with the
av_opt_set_pixel/sample_fmt() interface.
libavutil/opt.c