| 
																	
																	
																		
																	
																	
																 | 
																@@ -715,7 +715,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, | 
															
														
														
													
														
															
																 | 
																 | 
																                if (s->version < 2) | 
																 | 
																 | 
																                if (s->version < 2) | 
															
														
														
													
														
															
																 | 
																 | 
																                    s->offset[channel][s->nmean - 1] = sum / s->blocksize; | 
																 | 
																 | 
																                    s->offset[channel][s->nmean - 1] = sum / s->blocksize; | 
															
														
														
													
														
															
																 | 
																 | 
																                else | 
																 | 
																 | 
																                else | 
															
														
														
													
														
															
																 | 
																 | 
																                    s->offset[channel][s->nmean - 1] = s->bitshift == 32 ? 0 : (sum / s->blocksize) * (1 << s->bitshift); | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																                    s->offset[channel][s->nmean - 1] = s->bitshift == 32 ? 0 : (sum / s->blocksize) * (1LL << s->bitshift); | 
															
														
														
													
														
															
																 | 
																 | 
																            } | 
																 | 
																 | 
																            } | 
															
														
														
													
														
															
																 | 
																 | 
																
  | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																            /* copy wrap samples for use with next block */ | 
																 | 
																 | 
																            /* copy wrap samples for use with next block */ | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |