Skip to content

Add option to loop the mng#5

Open
alvesbm wants to merge 1 commit into
amadvance:masterfrom
alvesbm:master
Open

Add option to loop the mng#5
alvesbm wants to merge 1 commit into
amadvance:masterfrom
alvesbm:master

Conversation

@alvesbm

@alvesbm alvesbm commented Feb 18, 2016

Copy link
Copy Markdown

Add option to loop MNG from PNG files.

Changes framing mode in FRAM chunk to mode 3

Comment thread mngex.cc
unsigned char loopchunk[5];
unsigned fram_size;

loopchunk[0] = 1; /* Priority Layer */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indenting here is off with respect to other lines.

Comment thread mngex.cc

unsigned int type = ('L' << 24 | 'O' << 16 | 'O' << 8 | 'P');

if (adv_png_write_chunk(f, type, loopchunk, 5, fc) != 0) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Comment thread mngex.cc

eloopchunk[0] = 1; /* Priority Layer */

unsigned type = ('E' << 24 | 'N' << 16 | 'D' << 8 | 'L');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Comment thread remng.cc
{"extract", 0, 0, 'x'},
{"add", 1, 0, 'a'},

{"loop", 0, 0, 'p'},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

Comment thread remng.cc
int main(int argc, char* argv[])
{
loop=false;
firstloop=true;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto in general.

@amadvance amadvance force-pushed the master branch 4 times, most recently from e2409f0 to f4fc067 Compare November 22, 2022 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants