doc/examples/transcoding: check encoder before using it
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Dec 2014 17:58:38 +0000 (18:58 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Dec 2014 17:58:38 +0000 (18:58 +0100)
commitbde27e1e617dfeb3c026f530f48a77f5ed8aa2ea
tree4ec9ff6160add5f0d04167c495464a4266a81361
parentcbf09545f250a4bd12c50c3a96fe481098ab2d49
doc/examples/transcoding: check encoder before using it

Fixes null pointer exception

Found-by: stoupeace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/transcoding.c