summaryrefslogtreecommitdiff
path: root/libavcodec/h261.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-16 09:58:34 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-16 09:58:34 +0000
commita57d13b71375a127820220efeb35d03288c43ac2 (patch)
treeb6c53ecce2cdf29c09bc6c0bbc369b854023c460 /libavcodec/h261.c
parent09e151848a02f3c2b7a52ae1559f0e275056b62d (diff)
throw error if unsupported resolution is used with h261
Originally committed as revision 7097 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h261.c')
-rw-r--r--libavcodec/h261.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index b21d324c9c..8d4ca08cd4 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -77,7 +77,7 @@ void ff_h261_loop_filter(MpegEncContext *s){
s->dsp.h261_loop_filter(dest_cr, uvlinesize);
}
-static int ff_h261_get_picture_format(int width, int height){
+int ff_h261_get_picture_format(int width, int height){
// QCIF
if (width == 176 && height == 144)
return 0;