diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-09-02 20:55:35 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-11-22 19:06:12 +0100 |
commit | 8437cc72060f3fb057b96a908b33e9954074bac7 (patch) | |
tree | 98b7a842c47abcccf45782c5be022874fba4acab /libavcodec/pnm_parser.c | |
parent | 9146a476003cbf3adef88d26834928e53f9a9d8b (diff) | |
download | ffmpeg-8437cc72060f3fb057b96a908b33e9954074bac7.tar.gz |
ffv1dec: Avoid unnecessarily large stack usage and copies.
Ideally the compiler could figure this out on its own,
but it seems it can't.
An alternative that would avoid the messy explicit memcpy
would be to use a sub-struct for the parts that should
be preserved, which can then simply be assigned.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/pnm_parser.c')
0 files changed, 0 insertions, 0 deletions