prettyprinting cosmetics
Originally committed as revision 19767 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bbb0bdd533
commit
d87d5025aa
@ -40,7 +40,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
|
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
||||||
|
AVPacket *avpkt)
|
||||||
{
|
{
|
||||||
int h, w;
|
int h, w;
|
||||||
AVFrame *pic = avctx->coded_frame;
|
AVFrame *pic = avctx->coded_frame;
|
||||||
|
@ -48,7 +48,8 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
|
static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
|
||||||
|
int buf_size, void *data)
|
||||||
{
|
{
|
||||||
const AVFrame *pic = data;
|
const AVFrame *pic = data;
|
||||||
int aligned_width = ((avctx->width + 47) / 48) * 48;
|
int aligned_width = ((avctx->width + 47) / 48) * 48;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user