projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeeefd5
)
vcr1enc: drop pointless empty encode_init() wrapper function
author
Diego Biurrun
<diego@biurrun.de>
Thu, 12 Apr 2012 16:55:25 +0000
(18:55 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 9 May 2012 21:47:37 +0000
(23:47 +0200)
libavcodec/vcr1.c
patch
|
blob
|
history
diff --git
a/libavcodec/vcr1.c
b/libavcodec/vcr1.c
index
e3e45cc
..
7edd801
100644
(file)
--- a/
libavcodec/vcr1.c
+++ b/
libavcodec/vcr1.c
@@
-172,19
+172,12
@@
static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
return size * 4;
}
-static av_cold int encode_init(AVCodecContext *avctx)
-{
- common_init(avctx);
-
- return 0;
-}
-
AVCodec ff_vcr1_encoder = {
.name = "vcr1",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_VCR1,
.priv_data_size = sizeof(VCR1Context),
- .init =
encode
_init,
+ .init =
common
_init,
.encode = encode_frame,
.long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"),
};