libgsm: split init and close fuctions for encoder and decoder.
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 12 Sep 2011 16:13:05 +0000 (12:13 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 25 Sep 2011 18:38:08 +0000 (14:38 -0400)
commit8febd6afbca652b331ddd8e75e356656c153cad1
treeeeba73524ebd405a4323a2c0234b3c3cf7d9a857
parentd853e571ad5e7e12c6a68cfde390daced7d85fbb
libgsm: split init and close fuctions for encoder and decoder.

The decoder shouldn't be allocating coded_frame. It's also cleaner to split
them than to check avctx->codec->encode and avctx->codec->decode.
libavcodec/libgsm.c