dxa: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
gif: do not set avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
gif: remove unused AVFrame from encoder private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
zmbvenc: do not set avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
zmbvenc: remove unused AVFrame from encoder private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avformat_find_stream_info: fallback to timestamps in analyzeduration check in more cases

This fixes speex in rtmp
Fixes Ticket2409

the nellymoser in flv case actually needs larger analyzeduration. The code
previously just failed to calculate the duration

If this causes any problems, like premature analyze/probe end, please report!

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>