diff --git a/libswscale/utils.c b/libswscale/utils.c
-index e5e4d60..062ae01 100644
+index f0a2b46..61506c6 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -531,7 +531,9 @@ static int initFilter(int16_t **outFilter, int32_t **filterPos,
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
-index 1a0b341..98a0350 100644
+index 3660597..bf4e072 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2163,6 +2163,7 @@ static void flush_dpb(AVCodecContext *avctx)
}
static int init_poc(H264Context *h)
-@@ -3976,9 +3977,18 @@ again:
+@@ -3981,9 +3982,18 @@ again:
if ((err = decode_slice_header(hx, h)))
break;
+++ /dev/null
-diff --git a/libavcodec/snow.c b/libavcodec/snow.c
-index b9dab45..153e5b2 100644
---- a/libavcodec/snow.c
-+++ b/libavcodec/snow.c
-@@ -349,7 +349,7 @@ void ff_snow_pred_block(SnowContext *s, uint8_t *dst, uint8_t *tmp, int stride,
- src += sx + sy*stride;
- if( (unsigned)sx >= w - b_w - (HTAPS_MAX-2)
- || (unsigned)sy >= h - b_h - (HTAPS_MAX-2)){
-- s->dsp.emulated_edge_mc(tmp + MB_SIZE, src, stride, b_w+HTAPS_MAX-1, b_h+HTAPS_MAX-1, sx, sy, w, h);
-+ s->vdsp.emulated_edge_mc(tmp + MB_SIZE, src, stride, b_w+HTAPS_MAX-1, b_h+HTAPS_MAX-1, sx, sy, w, h);
- src= tmp + MB_SIZE;
- }
- // assert(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h);
-@@ -402,6 +402,7 @@ av_cold int ff_snow_common_init(AVCodecContext *avctx){
- s->max_ref_frames=1; //just make sure its not an invalid value in case of no initial keyframe
-
- ff_dsputil_init(&s->dsp, avctx);
-+ ff_videodsp_init(&s->vdsp, 8);
- ff_dwt_init(&s->dwt);
-
- #define mcf(dx,dy)\
-diff --git a/libavcodec/snow.h b/libavcodec/snow.h
-index abf3309..b988115 100644
---- a/libavcodec/snow.h
-+++ b/libavcodec/snow.h
-@@ -108,6 +108,7 @@ typedef struct SnowContext{
- AVCodecContext *avctx;
- RangeCoder c;
- DSPContext dsp;
-+ VideoDSPContext vdsp;
- DWTContext dwt;
- AVFrame new_picture;
- AVFrame input_picture; ///< new_picture with the internal linesizes
diff --git a/configure b/configure
-index 5355300..5ac7bc0 100755
+index e87a326..5ccfc0f 100755
--- a/configure
+++ b/configure
-@@ -3146,7 +3146,7 @@ EOF
+@@ -3156,7 +3156,7 @@ EOF
check_cc <<EOF || die "endian test failed"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
diff --git a/configure b/configure
-index 5355300..7ae7148 100755
+index e87a326..422a7a5 100755
--- a/configure
+++ b/configure
-@@ -2868,6 +2868,7 @@ case $target_os in
+@@ -2878,6 +2878,7 @@ case $target_os in
AVSERVERLDFLAGS=-Wl,-bind_at_load
objformat="macho"
enabled x86_64 && objformat="macho64"
enabled_any pic shared ||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
;;
-@@ -3070,7 +3071,7 @@ esc(){
+@@ -3080,7 +3081,7 @@ esc(){
echo "config:$arch:$subarch:$cpu:$target_os:$(esc $cc_ident):$(esc $LIBAV_CONFIGURATION)" >config.fate
$(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,YASM BZIP2 ZLIB))
$(eval $(call import.CONTRIB.defs,FFMPEG))
-FFMPEG.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libav-v9_beta3.tar.bz2
+FFMPEG.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libav-v9.1.tar.bz2
FFMPEG.CONFIGURE.deps =
FFMPEG.CONFIGURE.env =