libmodplug: simplify and fix read_packet() callback.
In case of av_new_packet() error, a correct return error code is raised, the data memcpy is avoided, and pkt dts/pts are not assigned anymore (since the defaults are good).
Showing
Please
register
or
sign in
to comment