pgmyuvenc: do not create files which are not supported
authorPaul B Mahol <onemda@gmail.com>
Wed, 24 Oct 2012 18:38:31 +0000 (18:38 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 24 Oct 2012 18:38:31 +0000 (18:38 +0000)
commit6ddb03caf0029b72db3cc7e4fd362e76c0d92c87
tree8e5647556b023b1c617fdb133d8356fbdd9cb28f
parente12cfd044c2bae4a099a3b9384b148424858d72b
pgmyuvenc: do not create files which are not supported

It is possible to support files with odd width and/or height
if real width and height are stored in header.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/pnmenc.c