lavu: make sure av_pix_fmt_desc_next returns a valid pix fmt.
authorClément Bœsch <ubitux@gmail.com>
Sat, 15 Dec 2012 22:28:15 +0000 (23:28 +0100)
committerClément Bœsch <ubitux@gmail.com>
Sun, 16 Dec 2012 19:39:39 +0000 (20:39 +0100)
commit7fb49639e6b1caf5579ce9663c1ff367663f9048
treeaf47d645e83d9584f4f7e94c2d99e334021375a1
parentcb8163d0bdf687d5f20783c64e39a2f0e5b017c6
lavu: make sure av_pix_fmt_desc_next returns a valid pix fmt.

This is required because there are some "holes" in the list for
compatibility with the fork.

The commit also removes the now unecessary check from cmdutils.

Found-by: wm4
cmdutils.c
libavutil/pixdesc.c