diff h263dec.c @ 9029:e10f554d8fb7 libavcodec

Another AVhwaccel hunk from Gwenole Beauchesne.
author michael
date Tue, 24 Feb 2009 18:39:42 +0000
parents 0f95e4f0a3f5
children bcf716c58be4
line wrap: on
line diff
--- a/h263dec.c	Tue Feb 24 18:27:52 2009 +0000
+++ b/h263dec.c	Tue Feb 24 18:39:42 2009 +0000
@@ -687,6 +687,11 @@
 intrax8_decoded:
     ff_er_frame_end(s);
 
+    if (avctx->hwaccel) {
+        if (avctx->hwaccel->end_frame(avctx) < 0)
+            return -1;
+    }
+
     MPV_frame_end(s);
 
 assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);