summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-03-06 18:01:05 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-05-11 14:59:07 +0200
commit5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f (patch)
tree148e38d7cf5475129e9930acd4952fcf867ec0a7 /libavcodec/internal.h
parent632ad2248e2e5d8cd4b51e6c87c943a38c3da425 (diff)
lavc: set AVCodecContext.hwaccel in ff_get_format()
This way each decoder does not have to do the same thing manually.
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 678d6f10ce..78af94ecc4 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -103,15 +103,6 @@ struct AVCodecDefault {
};
/**
- * Return the hardware accelerated codec for codec codec_id and
- * pixel format pix_fmt.
- *
- * @param avctx The codec context containing the codec_id and pixel format.
- * @return the hardware accelerated codec, or NULL if none was found.
- */
-AVHWAccel *ff_find_hwaccel(AVCodecContext *avctx);
-
-/**
* Return the index into tab at which {a,b} match elements {[0],[1]} of tab.
* If there is no such matching pair then size is returned.
*/