whitespace cosmetics: prettyprinting, K&R style
Originally committed as revision 20313 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -45,7 +45,9 @@ typedef struct TheoraContext{
|
|||||||
/*!
|
/*!
|
||||||
Concatenates an ogg_packet into the extradata.
|
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;
|
const char* message = NULL;
|
||||||
uint8_t* newdata = NULL;
|
uint8_t* newdata = NULL;
|
||||||
@@ -175,11 +177,8 @@ static av_cold int encode_init(AVCodecContext* avc_context)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int encode_frame(
|
static int encode_frame(AVCodecContext* avc_context, uint8_t *outbuf,
|
||||||
AVCodecContext* avc_context,
|
int buf_size, void *data)
|
||||||
uint8_t *outbuf,
|
|
||||||
int buf_size,
|
|
||||||
void *data)
|
|
||||||
{
|
{
|
||||||
yuv_buffer t_yuv_buffer;
|
yuv_buffer t_yuv_buffer;
|
||||||
TheoraContext *h = avc_context->priv_data;
|
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 };
|
static const enum PixelFormat supported_pixel_formats[] = { PIX_FMT_YUV420P, PIX_FMT_NONE };
|
||||||
|
|
||||||
/*! AVCodec struct exposed to libavcodec */
|
/*! AVCodec struct exposed to libavcodec */
|
||||||
AVCodec libtheora_encoder =
|
AVCodec libtheora_encoder = {
|
||||||
{
|
|
||||||
.name = "libtheora",
|
.name = "libtheora",
|
||||||
.type = CODEC_TYPE_VIDEO,
|
.type = CODEC_TYPE_VIDEO,
|
||||||
.id = CODEC_ID_THEORA,
|
.id = CODEC_ID_THEORA,
|
||||||
|
Reference in New Issue
Block a user