summaryrefslogtreecommitdiff
path: root/libavcodec/libdirac_libschro.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-15 11:12:47 +0000
committerDiego Biurrun <diego@biurrun.de>2009-08-15 11:12:47 +0000
commit735a38045a67975390af6969c6c957668d364606 (patch)
tree72583b2f2814ce08be7b557a209ff9e4334dcfb4 /libavcodec/libdirac_libschro.c
parent7c809dc3e24a321ed0b1fc3a34442127b762f801 (diff)
Remove useless braces around if/for/while expressions.
Originally committed as revision 19648 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libdirac_libschro.c')
-rw-r--r--libavcodec/libdirac_libschro.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/libdirac_libschro.c b/libavcodec/libdirac_libschro.c
index df9133da5d..7d73a6eb9d 100644
--- a/libavcodec/libdirac_libschro.c
+++ b/libavcodec/libdirac_libschro.c
@@ -59,9 +59,8 @@ unsigned int ff_dirac_schro_get_video_format_idx (AVCodecContext *avccontext)
avccontext->height == vf->height){
ret_idx = idx;
if (avccontext->time_base.den == vf->frame_rate_num &&
- avccontext->time_base.num == vf->frame_rate_denom) {
+ avccontext->time_base.num == vf->frame_rate_denom)
return idx;
- }
}
}
return ret_idx;
@@ -76,9 +75,8 @@ void ff_dirac_schro_queue_init (FfmpegDiracSchroQueue *queue)
void ff_dirac_schro_queue_free (FfmpegDiracSchroQueue *queue,
void (*free_func)(void *))
{
- while (queue->p_head) {
+ while (queue->p_head)
free_func( ff_dirac_schro_queue_pop(queue) );
- }
}
int ff_dirac_schro_queue_push_back (FfmpegDiracSchroQueue *queue, void *p_data)