[FFmpeg-devel] [VA decode] [PATCH] calculation of next marker for MPEG-4 streams

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 8 13:14:53 CEST 2012


anuj mittal <am.devel <at> gmail.com> writes:

> Attached is a patch that implements this. Please comment.

> +    if (s->resync_marker)
> +    {	
> +        if (s->pict_type == FF_I_TYPE)
> +        {

...

> +        }
> +        else /* P, B or S type */
> +        {

Please adhere to the coding style of the file / FFmpeg:

if (s->resync_marker) {
    if (s->pict_type == FF_I_TYPE) {
...
    } else { /* P, B or S type */

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list