aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorBobby Bingham <uhmmmm@gmail.com>2010-04-01 06:41:16 +0000
committerBobby Bingham <uhmmmm@gmail.com>2010-04-01 06:41:16 +0000
commit0fb49b597be60efb84bb39c09576baecc1471eeb (patch)
tree2cab1b3398a3650e2f4c99914c0d2e8cc340de0b /libavcodec/utils.c
parentc846a984dc331286b9c31bdb26f7edbbcfdbd6c0 (diff)
downloadffmpeg-0fb49b597be60efb84bb39c09576baecc1471eeb.tar.gz
Add function to export EDGE_WIDTH from libavcodec.
Originally committed as revision 22753 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 0abf07ce62..52aa672541 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -101,6 +101,11 @@ void register_avcodec(AVCodec *codec)
}
#endif
+unsigned avcodec_get_edge_width(void)
+{
+ return EDGE_WIDTH;
+}
+
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
s->coded_width = width;
s->coded_height= height;