avformat/avidec: print a warning for negative sample_size