changeset 7360:ce31f986474c libavcodec

100l cross_idr simplification had a typo
author michael
date Wed, 23 Jul 2008 14:59:55 +0000
parents 1980cae356ad
children f749afdac1e4
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Wed Jul 23 14:44:07 2008 +0000
+++ b/h264.c	Wed Jul 23 14:59:55 2008 +0000
@@ -7887,7 +7887,7 @@
                     out = h->delayed_pic[i];
                     out_idx = i;
                 }
-            cross_idr = !h->delayed_pic[0]->poc || !h->delayed_pic[i];
+            cross_idr = !h->delayed_pic[0]->poc || !!h->delayed_pic[i];
 
             out_of_order = !cross_idr && out->poc < h->outputed_poc;