avconv: do not overwrite the stream codec context for streamcopy
authorAnton Khirnov <anton@khirnov.net>
Thu, 2 Apr 2015 04:09:05 +0000 (06:09 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Apr 2015 11:10:03 +0000 (13:10 +0200)
commit3892bdab9b652eb003ab95e167f1765e0b0ea035
tree8b1f19cab8e11cee9e7b46a4a34d2328ecefb5a8
parentb2965ec7761c99e8ef9c217a28a517e37f010480
avconv: do not overwrite the stream codec context for streamcopy

Since we are not doing encoding, there is no point in ever touching the
separate encoding context. Always use the stream codec context.

Fixes writing attachments.

CC:libav-devel@libav.org
avconv.c