summaryrefslogtreecommitdiff
path: root/libavcodec/libdirac_libschro.c
diff options
context:
space:
mode:
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)