Files
Niklas Haas a985e8ed6b encode: fix AVPacket deinitialization logic
Since this function is called with packets on the stack, trying to free
them makes no sense. Instead, it should unref (which is what
`av_interleaved_write_frame` does anyway, rather than freeing).

Also, the calling code tried unreffing the packet a second time, even
after it was "freed" by the callee in the failure case - and after
ownership was taken over by `av_interleaved_write_frame` in the
successful case. Both of these cases were wrong.

(cherry picked from commit 6d61c5f68a)
2018-10-01 20:29:51 +03:00
..
2018-02-01 10:21:55 +01:00
2018-02-01 10:21:55 +01:00
2018-05-01 00:25:27 +03:00
2018-04-29 02:21:32 +03:00
2017-12-15 22:28:47 -08:00
2016-03-20 19:51:22 +01:00
2017-12-03 21:24:18 +01:00