]> git.sesse.net Git - vlc/commit
es_format: return an error if es_format_Copy() partially fails
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 08:49:10 +0000 (10:49 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 08:52:29 +0000 (10:52 +0200)
commit63305f387f445e92b4336cb91f686ff20edfc5f0
treee1eacff09f35410fefa514a36b7ffa83b7687007
parent88d300617a9977b18314806198d7f4983e0267b6
es_format: return an error if es_format_Copy() partially fails

Consistent with historical semantics, the destination format will
be incomplete but valid if the copy fails. It must be cleared with
es_format_Clean() even in case of error (as before).

Also add a few assertions against invalid formats.
modules/stream_out/cycle.c
src/misc/es_format.c