aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-18 12:57:25 +0100
committerMans Rullgard <mans@mansr.com>2012-06-18 19:32:07 +0100
commitdb28b01dcf089f7f470def6b3a482a88908893d8 (patch)
treebcf8bec020702dcdf7e9d3d68e473183d8a4928a /libavcodec
parentf61ce90caa909d131ea6ec205823568a38115529 (diff)
downloadffmpeg-db28b01dcf089f7f470def6b3a482a88908893d8.tar.gz
dirac: replace compound literal with normal initialiser
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dirac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dirac.c b/libavcodec/dirac.c
index bf56088c75..07329e3f4d 100644
--- a/libavcodec/dirac.c
+++ b/libavcodec/dirac.c
@@ -108,7 +108,7 @@ static const enum PixelFormat dirac_pix_fmt[2][3] = {
static int parse_source_parameters(AVCodecContext *avctx, GetBitContext *gb,
dirac_source_params *source)
{
- AVRational frame_rate = (AVRational){0,0};
+ AVRational frame_rate = {0,0};
unsigned luma_depth = 8, luma_offset = 16;
int idx;