aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-03-10 11:48:33 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-03-10 11:48:33 +0000
commita77146abfe33ab22a2b69721c9f74fa693f1ceed (patch)
tree2930164ab6fe1c3d014ccf400db1d5ac5d6e0e8e /libavcodec/h263dec.c
parent161fe66e365af1aeedb2a88d18d46fa91c5e606d (diff)
downloadffmpeg-a77146abfe33ab22a2b69721c9f74fa693f1ceed.tar.gz
* 'externaly' visible option list begins avoptions_ prefix
* fixed FLAG AVOption Originally committed as revision 1661 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 14f3046a89..15383d12f0 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -792,6 +792,12 @@ printf("%Ld\n", rdtsc()-time);
return get_consumed_bytes(s, buf_size);
}
+static const AVOption mpeg4_decoptions[] =
+{
+ AVOPTION_SUB(avoptions_workaround_bug),
+ AVOPTION_END()
+};
+
AVCodec mpeg4_decoder = {
"mpeg4",
CODEC_TYPE_VIDEO,
@@ -802,6 +808,7 @@ AVCodec mpeg4_decoder = {
ff_h263_decode_end,
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED,
+ .options = mpeg4_decoptions,
};
AVCodec h263_decoder = {
@@ -826,6 +833,7 @@ AVCodec msmpeg4v1_decoder = {
ff_h263_decode_end,
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+ mpeg4_decoptions,
};
AVCodec msmpeg4v2_decoder = {
@@ -838,6 +846,7 @@ AVCodec msmpeg4v2_decoder = {
ff_h263_decode_end,
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+ mpeg4_decoptions,
};
AVCodec msmpeg4v3_decoder = {
@@ -850,6 +859,7 @@ AVCodec msmpeg4v3_decoder = {
ff_h263_decode_end,
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+ .options = mpeg4_decoptions,
};
AVCodec wmv1_decoder = {
@@ -862,6 +872,7 @@ AVCodec wmv1_decoder = {
ff_h263_decode_end,
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+ mpeg4_decoptions,
};
AVCodec h263i_decoder = {
@@ -874,5 +885,6 @@ AVCodec h263i_decoder = {
ff_h263_decode_end,
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+ mpeg4_decoptions,
};