whitespace cosmetics: prettyprinting, K&R style

Originally committed as revision 20313 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Diego Biurrun 15 years ago
parent 643fc8f107
commit 8767fb4cad
  1. 14
      libavcodec/libtheoraenc.c

@ -45,7 +45,9 @@ typedef struct TheoraContext{
/*!
Concatenates an ogg_packet into the extradata.
*/
static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context, const ogg_packet* packet)
static int concatenate_packet(unsigned int* offset,
AVCodecContext* avc_context,
const ogg_packet* packet)
{
const char* message = NULL;
uint8_t* newdata = NULL;
@ -175,11 +177,8 @@ static av_cold int encode_init(AVCodecContext* avc_context)
return 0;
}
static int encode_frame(
AVCodecContext* avc_context,
uint8_t *outbuf,
int buf_size,
void *data)
static int encode_frame(AVCodecContext* avc_context, uint8_t *outbuf,
int buf_size, void *data)
{
yuv_buffer t_yuv_buffer;
TheoraContext *h = avc_context->priv_data;
@ -284,8 +283,7 @@ static av_cold int encode_close(AVCodecContext* avc_context)
static const enum PixelFormat supported_pixel_formats[] = { PIX_FMT_YUV420P, PIX_FMT_NONE };
/*! AVCodec struct exposed to libavcodec */
AVCodec libtheora_encoder =
{
AVCodec libtheora_encoder = {
.name = "libtheora",
.type = CODEC_TYPE_VIDEO,
.id = CODEC_ID_THEORA,

Loading…
Cancel
Save