pnm: Use av_pix_fmt_desc_get instead of accessing the array directly
authorMartin Storsjö <martin@martin.st>
Thu, 28 Feb 2013 16:05:50 +0000 (18:05 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 28 Feb 2013 16:29:03 +0000 (18:29 +0200)
commit86611ff123d6ff2504931efa041bff24e5619daf
tree07cb04f0c34456a87d5a367c85605b6dedc5694b
parent5c8696555abd30a200d0d882e2913f66619fba68
pnm: Use av_pix_fmt_desc_get instead of accessing the array directly

This fixes boken fate tests with MSVC with DLLs, broken since
b5f536d24.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/pnm.c
libavcodec/pnmenc.c