summaryrefslogtreecommitdiff
path: root/libavcodec/y41pdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-03-30 03:02:41 +0000
committerPaul B Mahol <onemda@gmail.com>2013-03-30 03:23:02 +0000
commit95c7cad70cd8b4a6fe773c2bd421b1206c629e34 (patch)
tree2da336d6147594a02e255834954fbe83c695e9a6 /libavcodec/y41pdec.c
parentc838701ce4515bd51f7827be0b20f256ba5c69f3 (diff)
lavc: remove empty function
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/y41pdec.c')
-rw-r--r--libavcodec/y41pdec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/y41pdec.c b/libavcodec/y41pdec.c
index 42449c63c4..70b68aa612 100644
--- a/libavcodec/y41pdec.c
+++ b/libavcodec/y41pdec.c
@@ -81,19 +81,12 @@ static int y41p_decode_frame(AVCodecContext *avctx, void *data,
return avpkt->size;
}
-static av_cold int y41p_decode_close(AVCodecContext *avctx)
-{
-
- return 0;
-}
-
AVCodec ff_y41p_decoder = {
.name = "y41p",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_Y41P,
.init = y41p_decode_init,
.decode = y41p_decode_frame,
- .close = y41p_decode_close,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
};