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>
Sat, 20 Dec 2014 01:25:54 +0000 (02:25 +0100)
commitfd72ff6f31f9626e1e871079cf4f2259b26f1a27
treeaa9107eb1e0072fdd8d2f9930e6f59df0b41fb98
parent82db2f2ac8c3aaf731e50f584646798edf73f378
doc/examples/transcoding: check encoder before using it

Fixes null pointer exception

Found-by: stoupeace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bde27e1e617dfeb3c026f530f48a77f5ed8aa2ea)

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