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

anuj mittal am.devel at gmail.com
Mon Oct 8 13:47:27 CEST 2012


On Mon, Oct 8, 2012 at 4:44 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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

Thank you. Attached is the patch with the changes.

Regards

Anuj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-resync-marker-only-when-enabled.-Also-check-fo.patch
Type: application/octet-stream
Size: 3469 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121008/69713995/attachment.obj>


More information about the ffmpeg-devel mailing list