reordered_opaque in lavf doesn't work correctly in the identity case (no reordering).
Fixes incorrect output for some file types (e.g. raw in mov).
if( h->vfr_input )
{
p_pic->pts = p_pic->duration = 0;
- if( frame.reordered_opaque != AV_NOPTS_VALUE )
+ if( c->has_b_frames && frame.reordered_opaque != AV_NOPTS_VALUE )
p_pic->pts = frame.reordered_opaque;
else if( pkt->dts != AV_NOPTS_VALUE )
p_pic->pts = pkt->dts; // for AVI files