summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-24 19:04:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-24 19:04:43 +0000
commita05aa821b67d48a008e0f470fd2f9656603d40f5 (patch)
tree408bffd48850ee9ff0b6e02150829ebf93835d3b /libavcodec/h263dec.c
parent6059f13cad4a0a980def65f3c185ce8ee7e7e0b9 (diff)
downloadffmpeg-a05aa821b67d48a008e0f470fd2f9656603d40f5.tar.gz
add ff_find_hwaccel() by Gwenole Beauchesne
Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 7fb9cb00f5..bb42d495fa 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -106,6 +106,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx)
return -1;
}
s->codec_id= avctx->codec->id;
+ avctx->hwaccel= ff_find_hwaccel(avctx->codec->id, avctx->pix_fmt);
/* for h263, we allocate the images after having read the header */
if (avctx->codec->id != CODEC_ID_H263 && avctx->codec->id != CODEC_ID_MPEG4)