avformat/concatdec: only set output stream index before returning packet
authorMarton Balint <cus@passwd.hu>
Sun, 25 Mar 2018 20:19:28 +0000 (22:19 +0200)
committerMarton Balint <cus@passwd.hu>
Mon, 2 Apr 2018 18:41:53 +0000 (20:41 +0200)
commit37d472a906bd9112225129fc35d9c94ae2ee9c3e
tree617fefcbd19d0147310d2aa5ac436bab98f798a4
parent5710fdaeae09529282862c984317bd9347d0865d
avformat/concatdec: only set output stream index before returning packet

Fixes ticket #6434.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/concatdec.c