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

anuj mittal am.devel at gmail.com
Mon Oct 8 16:29:04 CEST 2012


On Mon, Oct 8, 2012 at 5:17 PM, anuj mittal <am.devel at gmail.com> wrote:
> 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.
>

Take 3: Corrected - had overlooked the I type. Attached is the
corrected patch. Please comment.

Thank you.

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: 3497 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121008/754a30fd/attachment.obj>


More information about the ffmpeg-devel mailing list