aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libdiracenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-07 19:07:42 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-07 22:13:07 +0100
commit3dc99a18d4ae2b9bcc96e00b7f589128717aec64 (patch)
tree895f83e64aae6cdea16c72998257634424866042 /libavcodec/libdiracenc.c
parent079688b6cbd2944ab84d3539efcde161aa090fac (diff)
downloadffmpeg-3dc99a18d4ae2b9bcc96e00b7f589128717aec64.tar.gz
cosmetics: drop some pointless parentheses
Diffstat (limited to 'libavcodec/libdiracenc.c')
-rw-r--r--libavcodec/libdiracenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/libdiracenc.c b/libavcodec/libdiracenc.c
index 33dba2236a..156ba57718 100644
--- a/libavcodec/libdiracenc.c
+++ b/libavcodec/libdiracenc.c
@@ -136,7 +136,7 @@ static av_cold int libdirac_encode_init(AVCodecContext *avccontext)
preset = GetDiracVideoFormatPreset(avccontext);
/* initialize the encoder context */
- dirac_encoder_context_init(&(p_dirac_params->enc_ctx), preset);
+ dirac_encoder_context_init(&p_dirac_params->enc_ctx, preset);
p_dirac_params->enc_ctx.src_params.chroma = GetDiracChromaFormat(avccontext->pix_fmt);
@@ -199,7 +199,7 @@ static av_cold int libdirac_encode_init(AVCodecContext *avccontext)
* irrespective of the type of source material */
p_dirac_params->enc_ctx.enc_params.picture_coding_mode = 1;
- p_dirac_params->p_encoder = dirac_encoder_init(&(p_dirac_params->enc_ctx),
+ p_dirac_params->p_encoder = dirac_encoder_init(&p_dirac_params->enc_ctx,
verbose);
if (!p_dirac_params->p_encoder) {
@@ -221,7 +221,7 @@ static void DiracFreeFrame(void *data)
{
DiracSchroEncodedFrame *enc_frame = data;
- av_freep(&(enc_frame->p_encbuf));
+ av_freep(&enc_frame->p_encbuf);
av_free(enc_frame);
}