[Ffmpeg-cvslog] r7234 - trunk/libavformat/utils.c

Reimar Döffinger Reimar.Doeffinger
Wed Dec 6 16:53:29 CET 2006


Hello,
On Wed, Dec 06, 2006 at 04:46:12PM +0100, bcoudurier wrote:
> -    pkt->pts &= pts_mask;
> -    pkt->dts &= pts_mask;
> +    if( pkt->pts != AV_NOPTS_VALUE ) {
> +        pkt->pts &= pts_mask;
> +    }
> +    if( pkt->dts != AV_NOPTS_VALUE ) {
> +        pkt->dts &= pts_mask;
> +    }

Am I the only one who would have preferred this without the extra {}?
If not, could we agree on removing such before comitting?

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list