avcodec: Pass PutBitContext into ff_h263_encode_motion() instead of MpegEncContext
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 24 May 2015 15:07:51 +0000 (17:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 24 May 2015 15:15:18 +0000 (17:15 +0200)
commit404fe63e23433aa559cee5366cb26f78b425e7e5
tree86eb7880b36ebf79992c2081995e61a543b5e705
parentb71dc297296a8a659fa7299acb6ebaa95a885ffd
avcodec: Pass PutBitContext into ff_h263_encode_motion() instead of MpegEncContext

This avoids the need to dereference MpegEncContext->pb if it is
already available outside ff_h263_encode_motion()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h263.h
libavcodec/ituh263enc.c
libavcodec/svq1enc.c