summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-07-23 14:59:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-07-23 14:59:55 +0000
commitcf67f1655c30083d1f8474b07937915f110cbd33 (patch)
treec2030295d8e13139711cc1dbc9244f7ab6718647 /libavcodec/h264.c
parentf3ba9db42d836403372de34b0ed1c51f71ad5fad (diff)
downloadffmpeg-streaming-cf67f1655c30083d1f8474b07937915f110cbd33.zip
ffmpeg-streaming-cf67f1655c30083d1f8474b07937915f110cbd33.tar.gz
100l cross_idr simplification had a typo
Originally committed as revision 14351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 5aab7a8..0497624 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7887,7 +7887,7 @@ static int decode_frame(AVCodecContext *avctx,
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;
OpenPOWER on IntegriCloud