avcodec: remove some dead assignments