[FFmpeg-cvslog] dirac: replace compound literal with normal initialiser
Ronald S. Bultje
git at videolan.org
Tue Jun 19 21:13:49 CEST 2012
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Mon Jun 18 12:57:25 2012 +0100| [db28b01dcf089f7f470def6b3a482a88908893d8] | committer: Mans Rullgard
dirac: replace compound literal with normal initialiser
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db28b01dcf089f7f470def6b3a482a88908893d8
---
libavcodec/dirac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dirac.c b/libavcodec/dirac.c
index bf56088..07329e3 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;
More information about the ffmpeg-cvslog
mailing list